1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-25 22:18:27 +00:00

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
+10 -1
View File
@@ -2,18 +2,27 @@
# makefile for the regression tests that generate output which has to be
# compared with reference output
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
DIFF := fc
else
RM := rm -f
DIFF := diff -q
endif
CFLAGS := -O2 -Wall -W -Wextra -fwrapv -fno-strict-overflow
.PHONY: all
.PHONY: all clean
REFS := $(patsubst %.c,%.ref,$(wildcard *.c))