diff options
| author | grischka <grischka> | 2017-02-25 12:49:47 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2017-02-25 12:51:04 +0100 |
| commit | bb93064d7857d887b674999c9b4152b44a628f9a (patch) | |
| tree | 5290a93161373fd5a286d9aaf32ebb8dea04f82c /tests/tests2 | |
| parent | 669f61117d6ff2255649e80a9708fe24e32d4a33 (diff) | |
| download | tinycc-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/tests2')
| -rw-r--r-- | tests/tests2/Makefile | 9 |
1 files changed, 1 insertions, 8 deletions
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 |
