mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-21 05:40:09 +08:00
Merge branch 'mob' of git://repo.or.cz/tinycc into kroll
This commit is contained in:
commit
10a08a372f
@ -39,8 +39,10 @@ libtcc_test$(EXESUF): libtcc_test.c ../$(LIBTCC)
|
|||||||
$(CC) -o $@ $^ -I.. $(CFLAGS) $(LIBS) $(LINK_LIBTCC)
|
$(CC) -o $@ $^ -I.. $(CFLAGS) $(LIBS) $(LINK_LIBTCC)
|
||||||
|
|
||||||
# test.ref - generate using gcc
|
# test.ref - generate using gcc
|
||||||
|
# copy only tcclib.h so GCC's stddef and stdarg will be used
|
||||||
test.ref: tcctest.c
|
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 > $@
|
./tcctest.gcc > $@
|
||||||
|
|
||||||
# auto test
|
# auto test
|
||||||
|
Loading…
Reference in New Issue
Block a user