Add entry to run tests2 tests

This commit is contained in:
Christian Jullien 2017-02-17 08:05:38 +01:00
parent d61985b37a
commit f33801e25e

View File

@ -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: