aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Soroka <gits@joesoroka.com>2011-07-22 02:12:49 -0700
committerJoe Soroka <gits@joesoroka.com>2011-07-22 02:12:49 -0700
commit339f961c115fcff68d94026b930b6840fe023eb7 (patch)
tree15e2bed45b4c9e9f875e45b0f3fb78e07f457a88
parent9b52e16a50e7ed86b4fec6736cd32421fa90785a (diff)
downloadtinycc-339f961c115fcff68d94026b930b6840fe023eb7.tar.gz
tinycc-339f961c115fcff68d94026b930b6840fe023eb7.tar.bz2
fixed Makefile test targets
-rw-r--r--libtcc.c2
-rw-r--r--tests/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/libtcc.c b/libtcc.c
index 9fa0dd8..0488f33 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 36dd5fc..8cd906d 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)