diff options
| author | James Lyon <jamesly0n@hotmail.com> | 2013-04-18 17:27:34 +0100 |
|---|---|---|
| committer | James Lyon <jamesly0n@hotmail.com> | 2013-04-18 17:27:34 +0100 |
| commit | 2bbfaf436f937ace4809d84be812ea1ac7fd7352 (patch) | |
| tree | 6e4f3f80611a8a471b5e84f42e05d2fd30f57e73 /tests/Makefile | |
| parent | ce5e12c2f950052d8109b6b7a56d900547705c08 (diff) | |
| download | tinycc-2bbfaf436f937ace4809d84be812ea1ac7fd7352.tar.gz tinycc-2bbfaf436f937ace4809d84be812ea1ac7fd7352.tar.bz2 | |
Tests in abitest.c now work on Win32.
I expect that Linux-x86 is probably fine. All other architectures
except ARM are definitely broken since I haven't yet implemented
gfunc_sret for these, although replicating the current behaviour
should be straightforward.
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 |
