syn68k/test/Makefile.am

33 lines
845 B
Makefile
Raw Normal View History

2008-09-26 14:25:10 +00:00
noinst_PROGRAMS = syngentest
syngentest_CPPFLAGS = -DMEMORY_OFFSET=8192
syngentest_SOURCES = main.c driver.c tests.c setup.c \
2009-12-05 22:34:57 +00:00
testtrap.c crc.c testrt.c testqsort.c \
\
include/callemulator.h include/crc.h include/driver.h \
include/run68k.h include/setup.h include/testbattery.h \
include/testqsort.h include/testrt.h include/testtrap.h \
\
maketestbattery.pl testall.sh
if M68K_HOSTCPU
syngentest_SOURCES += callemulator.s run68k.s
2008-09-26 14:25:10 +00:00
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 = @EXECSTACK@
2008-09-26 14:25:10 +00:00
INCLUDES = -I$(srcdir)/include -I$(srcdir)/../include -I../include
CLEANFILES = testbattery.c