mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-26 03:50:07 +08:00
update VERSION to 0.9.27
Also: - in tests: generate .expect files only if not yet present, because 1) some files were adjusted manually 2) switching git branche might change timestamps and cause unwanted update
This commit is contained in:
parent
aa0a45be05
commit
5efa75d9b8
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user