diff options
| author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2016-12-24 20:59:06 +0200 |
|---|---|---|
| committer | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2016-12-24 20:59:10 +0200 |
| commit | 9b3e4c5895692eaa62ab2dbc14ecc3883980d997 (patch) | |
| tree | 89ebab9dc0cd0d225d1206f39c47a760fe7ee674 /tests/pp | |
| parent | 71c5ce5ced24a5bbd87d7b5415409af340706b1f (diff) | |
| download | tinycc-9b3e4c5895692eaa62ab2dbc14ecc3883980d997.tar.gz tinycc-9b3e4c5895692eaa62ab2dbc14ecc3883980d997.tar.bz2 | |
tests: don't assume $(CC) is gcc
This also allows self hosting + testing when $(CC) is tcc.
Diffstat (limited to 'tests/pp')
| -rw-r--r-- | tests/pp/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pp/Makefile b/tests/pp/Makefile index 0b96caa..314f13f 100644 --- a/tests/pp/Makefile +++ b/tests/pp/Makefile @@ -32,10 +32,10 @@ FILTER = 2>&1 | sed 's,$(SRC)/,,g' # automatically generate .expect files with gcc: %.expect: %.c - gcc -E -P $< >$*.expect 2>&1 + $(CC) -E -P $< >$*.expect 2>&1 %.expect: %.S - gcc -E -P $< >$*.expect 2>&1 + $(CC) -E -P $< >$*.expect 2>&1 # tell make not to delete .PRECIOUS: %.expect |
