mirror of
https://github.com/cc65/cc65.git
synced 2026-04-22 01:16:54 +00:00
Use simply-defined make variables.
This commit is contained in:
+4
-3
@@ -2,10 +2,10 @@
|
||||
# makefile for the tests that MUST NOT compile
|
||||
|
||||
ifneq ($(shell echo),)
|
||||
CMD_EXE = 1
|
||||
CMD_EXE := 1
|
||||
endif
|
||||
|
||||
CC65FLAGS = -t sim6502
|
||||
CC65FLAGS := -t sim6502
|
||||
|
||||
CL65 := $(if $(wildcard ../../bin/cl65*),../../bin/cl65,cl65)
|
||||
|
||||
@@ -15,7 +15,7 @@ else
|
||||
RM := rm -f
|
||||
endif
|
||||
|
||||
WORKDIR := ./../../testwrk
|
||||
WORKDIR := ../../testwrk
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
@@ -48,6 +48,7 @@ $(WORKDIR)/%.oir.prg: %.c
|
||||
! $(CL65) -Oir $(CC65FLAGS) $< -o $@
|
||||
$(WORKDIR)/%.or.prg: %.c
|
||||
! $(CL65) -Or $(CC65FLAGS) $< -o $@
|
||||
|
||||
clean:
|
||||
@$(RM) $(TESTS)
|
||||
@$(RM) $(SOURCES:.c=.o)
|
||||
|
||||
Reference in New Issue
Block a user