aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHenry Kroll III <henry@comptune.com>2010-12-06 16:25:33 -0800
committerHenry Kroll III <henry@comptune.com>2010-12-06 16:25:33 -0800
commit10a08a372ff3f1968b5c873caa20d12b0b573e19 (patch)
treea46cda74572e855e67c1d9f23d1635b3a4700df4 /tests
parentbb7bb37fe2eb47a35edcb4a5d4de62c044aafabf (diff)
parentf2d7998a967e2aa944686abb4f3930d27b03ffef (diff)
downloadtinycc-10a08a372ff3f1968b5c873caa20d12b0b573e19.tar.gz
tinycc-10a08a372ff3f1968b5c873caa20d12b0b573e19.tar.bz2
Merge branch 'mob' of git://repo.or.cz/tinycc into kroll
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index d7e94b9..017f35c 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -39,8 +39,10 @@ libtcc_test$(EXESUF): libtcc_test.c ../$(LIBTCC)
$(CC) -o $@ $^ -I.. $(CFLAGS) $(LIBS) $(LINK_LIBTCC)
# test.ref - generate using gcc
+# copy only tcclib.h so GCC's stddef and stdarg will be used
test.ref: tcctest.c
- $(CC) -o tcctest.gcc $< -w $(CFLAGS) -I../include
+ cp -u ../include/tcclib.h .
+ $(CC) -o tcctest.gcc $< -I. -w $(CFLAGS)
./tcctest.gcc > $@
# auto test