added some windows/cmd.exe stuff

This commit is contained in:
mrdudz
2014-11-23 12:18:19 +01:00
parent 198bd893f9
commit 8a66605d5e
7 changed files with 46 additions and 17 deletions

View File

@@ -1,15 +1,23 @@
# makefile for the regression tests that return an error code on failure
ifneq ($(shell echo),)
CMD_EXE = 1
endif
CC65FLAGS = -t sim6502
SIM65FLAGS = -x 200000000
CL65 := $(if $(wildcard ../../bin/cl65*),../../bin/cl65,cl65)
SIM65 := $(if $(wildcard ../../bin/sim65*),../../bin/sim65,sim65)
ifdef CMD_EXE
RM := del /f
else
RM := rm -f
endif
.PHONY: all
.PHONY: all clean
TESTS := $(patsubst %.c,%.prg,$(wildcard *.c))
TESTS += $(patsubst %.c,%.o.prg,$(wildcard *.c))