aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/pp/Makefile8
-rw-r--r--tests/tests2/Makefile2
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/pp/Makefile b/tests/pp/Makefile
index 314f13f..1032b65 100644
--- a/tests/pp/Makefile
+++ b/tests/pp/Makefile
@@ -31,11 +31,11 @@ FILTER = 2>&1 | sed 's,$(SRC)/,,g'
&& rm -f $*.output
# automatically generate .expect files with gcc:
-%.expect: %.c
- $(CC) -E -P $< >$*.expect 2>&1
+%.expect: # %.c
+ gcc -E -P $< >$*.expect 2>&1
-%.expect: %.S
- $(CC) -E -P $< >$*.expect 2>&1
+%.expect: # %.S
+ gcc -E -P $< >$*.expect 2>&1
# tell make not to delete
.PRECIOUS: %.expect
diff --git a/tests/tests2/Makefile b/tests/tests2/Makefile
index b52b54a..d0cd664 100644
--- a/tests/tests2/Makefile
+++ b/tests/tests2/Makefile
@@ -62,7 +62,7 @@ all test: $(filter-out $(SKIP),$(TESTS))
@diff -Nbu $(SRC)/$*.expect $*.output && rm -f $*.output $*.exe
# automatically generate .expect files with gcc:
-%.expect : %.c
+%.expect : # %.c
(gcc -w $*.c -o a.exe && ./a.exe $(ARGS)) $(FILTER) >$*.expect 2>&1; rm -f a.exe
# tell make not to delete