aboutsummaryrefslogtreecommitdiff
path: root/tests/pp/Makefile
diff options
context:
space:
mode:
authorgrischka <grischka>2017-02-25 12:49:47 +0100
committergrischka <grischka>2017-02-25 12:51:04 +0100
commitbb93064d7857d887b674999c9b4152b44a628f9a (patch)
tree5290a93161373fd5a286d9aaf32ebb8dea04f82c /tests/pp/Makefile
parent669f61117d6ff2255649e80a9708fe24e32d4a33 (diff)
downloadtinycc-bb93064d7857d887b674999c9b4152b44a628f9a.tar.gz
tinycc-bb93064d7857d887b674999c9b4152b44a628f9a.tar.bz2
makefile: unify cross with native builds
supports building cross compilers on the fly without need for configure --enable-cross $ make cross # all compilers $ make cross-TARGET # only TARGET-compiler & its libtcc1.a with TARGET one from i386 x86_64 i386-win32 x86_64-win32 arm arm64 arm-wince c67 Type 'make help' for more information
Diffstat (limited to 'tests/pp/Makefile')
-rw-r--r--tests/pp/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/pp/Makefile b/tests/pp/Makefile
index 1032b65..ba75bbc 100644
--- a/tests/pp/Makefile
+++ b/tests/pp/Makefile
@@ -3,11 +3,10 @@
#
TOP = ../..
-include $(TOP)/config.mak
+include $(TOP)/Makefile
SRC = $(TOPSRC)/tests/pp
VPATH = $(SRC)
-TCC = ../../tcc
files = $(patsubst %.$1,%.test,$(notdir $(wildcard $(SRC)/*.$1)))
TESTS = $(call files,c) $(call files,S)