mirror of
https://github.com/frida/tinycc
synced 2024-11-27 18:19:35 +03:00
Add entry to run tests2 tests
This commit is contained in:
parent
d61985b37a
commit
f33801e25e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user