diff options
| author | Christian Jullien <Christian Jullien> | 2017-02-17 08:05:38 +0100 |
|---|---|---|
| committer | Christian Jullien <Christian Jullien> | 2017-02-17 08:05:38 +0100 |
| commit | f33801e25e7ea54cf46e2892df1550148604d559 (patch) | |
| tree | 7228eebaa8024c368c0f2c0949ac8db2addd2abe /win32/Makefile | |
| parent | d61985b37a1485505c6ca38d062fd47f84bcd2d9 (diff) | |
| download | tinycc-f33801e25e7ea54cf46e2892df1550148604d559.tar.gz tinycc-f33801e25e7ea54cf46e2892df1550148604d559.tar.bz2 | |
Add entry to run tests2 tests
Diffstat (limited to 'win32/Makefile')
| -rw-r--r-- | win32/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/win32/Makefile b/win32/Makefile index 0636deb..854aa93 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -34,6 +34,10 @@ all: pre bootstrap libs rebuild @ls -ls *.exe pre: + @echo ARCH=x86-64 1> ../config.mak + @echo TARGETOS=Windows 1>> ../config.mak + @echo CONFIG_WIN32=yes 1>> ../config.mak + @echo TOPSRC=$$\(TOP\) 1>> ../config.mak @echo "#define TCC_VERSION \"$(VERSION)\"" 1>../config.h @echo "#ifdef TCC_TARGET_X86_64" 1>>../config.h @echo "#define CONFIG_TCC_LIBPATHS \"{B}/lib/64;{B}/lib\"" 1>>../config.h @@ -110,6 +114,11 @@ rebuild: PHONY += rebuild +test: + @(cd ../tests/tests2; $(MAKE) -k TCC=../../win32/tcc) + +PHONY += test + TARNAME = tcc-$(VERSION)-$(PREFIX)-win32 tarball: |
