2 # makefile for the tests that MUST NOT compile
10 CL65 := $(if $(wildcard ../../bin/cl65*),../../bin/cl65,cl65)
18 WORKDIR := ./../../testwrk
22 TESTS := $(patsubst %.c,%.prg,$(wildcard *.c))
23 TESTS += $(patsubst %.c,%.o.prg,$(wildcard *.c))
24 TESTS += $(patsubst %.c,%.os.prg,$(wildcard *.c))
25 TESTS += $(patsubst %.c,%.osi.prg,$(wildcard *.c))
26 TESTS += $(patsubst %.c,%.osir.prg,$(wildcard *.c))
27 TESTS += $(patsubst %.c,%.oi.prg,$(wildcard *.c))
28 TESTS += $(patsubst %.c,%.oir.prg,$(wildcard *.c))
29 TESTS += $(patsubst %.c,%.or.prg,$(wildcard *.c))
34 ! $(CL65) $(CC65FLAGS) $< -o $@
36 ! $(CL65) $(CC65FLAGS) $< -o $@
38 ! $(CL65) $(CC65FLAGS) $< -o $@
40 ! $(CL65) $(CC65FLAGS) $< -o $@
42 ! $(CL65) $(CC65FLAGS) $< -o $@
44 ! $(CL65) $(CC65FLAGS) $< -o $@
46 ! $(CL65) $(CC65FLAGS) $< -o $@
48 ! $(CL65) $(CC65FLAGS) $< -o $@