From 339f961c115fcff68d94026b930b6840fe023eb7 Mon Sep 17 00:00:00 2001 From: Joe Soroka Date: Fri, 22 Jul 2011 02:12:49 -0700 Subject: [PATCH] fixed Makefile test targets --- libtcc.c | 2 +- tests/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libtcc.c b/libtcc.c index 9fa0dd82..0488f33e 100644 --- a/libtcc.c +++ b/libtcc.c @@ -69,7 +69,7 @@ ST_DATA void *rt_prog_main; #ifdef TCC_TARGET_PE #include "tccpe.c" #endif -#endif /* ALL_IN_ONE */ +#endif /* ONE_SOURCE */ /********************************************************/ #ifndef CONFIG_TCC_ASM diff --git a/tests/Makefile b/tests/Makefile index 36dd5fcd..8cd906d4 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -20,7 +20,7 @@ endif # run local version of tcc with local libraries and includes TCC = ../tcc -B.. -RUN_TCC = $(NATIVE_DEFINES) -run ../tcc.c -B.. +RUN_TCC = $(NATIVE_DEFINES) -run -DONE_SOURCE ../tcc.c -B.. DISAS=objdump -d all test : $(TESTS)