From bb93064d7857d887b674999c9b4152b44a628f9a Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 25 Feb 2017 12:49:47 +0100 Subject: 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 --- tests/tests2/Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'tests/tests2/Makefile') diff --git a/tests/tests2/Makefile b/tests/tests2/Makefile index 52f590f..b8d6a49 100644 --- a/tests/tests2/Makefile +++ b/tests/tests2/Makefile @@ -1,15 +1,8 @@ TOP = ../.. -include $(TOP)/config.mak +include $(TOP)/Makefile SRC = $(TOPSRC)/tests/tests2 VPATH = $(SRC) -# run local version of tcc with local libraries and includes -TCCFLAGS = -B$(TOP) -I$(TOPSRC)/include -ifdef CONFIG_WIN32 - TCCFLAGS = -B$(TOPSRC)/win32 -I$(TOPSRC)/include -L$(TOP) -endif -TCC = $(TOP)/tcc $(TCCFLAGS) - TESTS = $(patsubst %.c,%.test,$(sort $(notdir $(wildcard $(SRC)/*.c)))) # 34_array_assignment.test -- array assignment is not in C standard -- cgit v1.3.1