mirror of
https://github.com/ctm/syn68k.git
synced 2024-11-01 04:04:29 +00:00
28 lines
690 B
Makefile
28 lines
690 B
Makefile
noinst_PROGRAMS = syngentest
|
|
|
|
syngentest_CPPFLAGS = -DMEMORY_OFFSET=8192
|
|
|
|
if M68K_HOSTCPU
|
|
syngentest_SOURCES = main.c driver.c tests.c setup.c \
|
|
testtrap.c callemulator.s run68k.s crc.c testrt.c testqsort.c
|
|
else
|
|
syngentest_SOURCES = main.c driver.c tests.c setup.c \
|
|
testtrap.c crc.c testrt.c testqsort.c
|
|
endif
|
|
|
|
nodist_syngentest_SOURCES = testbattery.c
|
|
|
|
testbattery.c: tests.c maketestbattery.pl
|
|
rm -f testbattery.c
|
|
$(srcdir)/maketestbattery.pl < $(srcdir)/tests.c > testbattery.c
|
|
chmod a-w testbattery.c
|
|
|
|
syngentest_LDADD = ../runtime/libsyn68k.a
|
|
|
|
syngentest_LDFLAGS = -z execstack
|
|
|
|
INCLUDES = -I$(srcdir)/include -I$(srcdir)/../include -I../include
|
|
|
|
CLEANFILES = testbattery.c
|
|
|