From f33801e25e7ea54cf46e2892df1550148604d559 Mon Sep 17 00:00:00 2001 From: Christian Jullien Date: Fri, 17 Feb 2017 08:05:38 +0100 Subject: [PATCH] Add entry to run tests2 tests --- win32/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) 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: