diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Makefile | 10 | ||||
| -rw-r--r-- | tests/abitest.c | 2 | ||||
| -rw-r--r-- | tests/libtcc_test.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/tests/Makefile b/tests/Makefile index e3824ba..a8b41f9 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -66,8 +66,8 @@ RUN_TCC = $(NATIVE_DEFINES) -DONE_SOURCE -run $(top_srcdir)/tcc.c $(TCCFLAGS) DISAS = objdump -d # libtcc test -ifdef LIBTCC1 - LIBTCC1:=$(TOP)/$(LIBTCC1) +ifdef LIBCRT + LIBCRT:=$(TOP)/$(LIBCRT) endif all test : $(TESTS) @@ -89,7 +89,7 @@ hello-run: ../examples/ex1.c @echo ------------ $@ ------------ $(TCC) -run $< -libtest: libtcc_test$(EXESUF) $(LIBTCC1) +libtest: libtcc_test$(EXESUF) $(LIBCRT) @echo ------------ $@ ------------ ./libtcc_test$(EXESUF) lib_path=.. @@ -101,7 +101,7 @@ moretests: $(MAKE) -C tests2 w32-prep: - cp ../libtcc1.a ../lib + cp ../libcrt.a ../lib # test.ref - generate using cc test.ref: tcctest.c @@ -242,4 +242,4 @@ clean: rm -vf *~ *.o *.a *.bin *.i *.ref *.out *.out? *.out?b *.cc \ *-cc *-tcc *.exe \ hello libtcc_test vla_test tcctest[1234] ex? tcc_g tcclib.h \ - ../lib/libtcc1.a + ../lib/libcrt.a diff --git a/tests/abitest.c b/tests/abitest.c index 3ad707a..d840d85 100644 --- a/tests/abitest.c +++ b/tests/abitest.c @@ -468,7 +468,7 @@ int main(int argc, char **argv) { const char *testname = NULL; int retval = EXIT_SUCCESS; - /* if tcclib.h and libtcc1.a are not installed, where can we find them */ + /* if tcclib.h and libcrt.a are not installed, where can we find them */ for (i = 1; i < argc; ++i) { if (!memcmp(argv[i], "lib_path=",9)) tccdir = argv[i] + 9; diff --git a/tests/libtcc_test.c b/tests/libtcc_test.c index bead0ff..4449afa 100644 --- a/tests/libtcc_test.c +++ b/tests/libtcc_test.c @@ -43,7 +43,7 @@ int main(int argc, char **argv) exit(1); } - /* if tcclib.h and libtcc1.a are not installed, where can we find them */ + /* if tcclib.h and libcrt.a are not installed, where can we find them */ if (argc == 2 && !memcmp(argv[1], "lib_path=",9)) tcc_set_lib_path(s, argv[1]+9); |
