diff options
| author | grischka <grischka> | 2016-10-01 21:06:33 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2016-10-01 21:06:33 +0200 |
| commit | 0a624782dfc8fee6f0600066b135d3b20e4274f4 (patch) | |
| tree | e47f5f74ee3570445a7bc44f11bfb0ed98f4f427 /tests/pp/Makefile | |
| parent | 6d2be31b93bec581391ea4476482693ee7452f59 (diff) | |
| download | tinycc-0a624782dfc8fee6f0600066b135d3b20e4274f4.tar.gz tinycc-0a624782dfc8fee6f0600066b135d3b20e4274f4.tar.bz2 | |
build: revert Makefiles to 0.9.26 state (mostly)
Except
- that libtcc1.a is now installed in subdirs i386/ etc.
- the support for arm and arm64
- some of the "Darwin" fixes
- tests are mosly unchanged
Also
- removed the "legacy links for cross compilers" (was total mess)
- removed "out-of-tree" build support (was broken anyway)
Diffstat (limited to 'tests/pp/Makefile')
| -rw-r--r-- | tests/pp/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/pp/Makefile b/tests/pp/Makefile index cd0b83f..d687aca 100644 --- a/tests/pp/Makefile +++ b/tests/pp/Makefile @@ -3,9 +3,8 @@ # TCC = ../../tcc - -TESTS = $(patsubst %.c,%.test,$(wildcard *.c)) -TESTS += $(patsubst %.S,%.test,$(wildcard *.S)) +files = $(patsubst %.$1,%.test,$(wildcard *.$1)) +TESTS = $(call files,c) $(call files,S) all test : $(sort $(TESTS)) @@ -25,10 +24,10 @@ DIFF_OPTS = -Nu -b -B -I "^\#" # automatically generate .expect files with gcc: %.expect: %.c - gcc -E -P $*.c >$*.expect 2>&1 + gcc -E -P $< >$*.expect 2>&1 %.expect: %.S - gcc -E -P $*.S >$*.expect 2>&1 + gcc -E -P $< >$*.expect 2>&1 # tell make not to delete .PRECIOUS: %.expect |
