diff options
Diffstat (limited to 'tests/Makefile')
| -rw-r--r-- | tests/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/Makefile b/tests/Makefile index f47ede4..ae5d47d 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -13,7 +13,7 @@ TESTS = \ hello-run \ libtest \ test3 \ - abitest-exe \ + abitest \ moretests # test4 -- problem with -static @@ -180,12 +180,16 @@ asmtest: asmtest.ref # Check that code generated by libtcc is binary compatible with # that generated by CC -abitest$(EXESUF): abitest.c $(top_builddir)/$(LIBTCC) - $(CC) -o $@ $^ $(CPPFLAGS) $(CFLAGS) $(NATIVE_DEFINES) $(LIBS) $(LINK_LIBTCC) $(LDFLAGS) -I$(top_srcdir) -g -O0 +abitest-cc$(EXESUF): abitest.c $(top_builddir)/$(LIBTCC) + $(CC) -o $@ $^ $(CPPFLAGS) $(CFLAGS) $(NATIVE_DEFINES) $(LIBS) $(LINK_LIBTCC) $(LDFLAGS) -I$(top_srcdir) + +abitest-tcc$(EXESUF): abitest.c $(top_builddir)/$(LIBTCC) + $(TCC) -o $@ $^ $(CPPFLAGS) $(CFLAGS) $(NATIVE_DEFINES) $(LIBS) $(LINK_LIBTCC) $(LDFLAGS) -I$(top_srcdir) -abitest-exe: abitest$(EXESUF) +abitest: abitest-cc$(EXESUF) abitest-tcc$(EXESUF) @echo ------------ $@ ------------ - abitest$(EXESUF) lib_path=.. + abitest-cc$(EXESUF) lib_path=.. + abitest-tcc$(EXESUF) lib_path=.. # targets for development %.bin: %.c tcc |
