Skip to content

Commit 9efeaae

Browse files
chqrliebvdberg
authored andcommitted
Makefile: fix errors and warnings targets
* `make warnings` outputs the C compiler warnings with correct filenames * `make rebuild` no longer output warnings because of new spurious signed/unsigned comparisons warnings in ir generator
1 parent e40e86e commit 9efeaae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ alloc_trace: $(C2C) output/c2c_trace/c2c_trace
8383
cat output/c2c/calls
8484

8585
errors:
86-
@( grep -n 'error:' `find output -name build.log` | sed -E 's/build.log:[0-9]+://' ; true )
86+
@( grep -H 'error:' `find output -name build.log` | sed -E 's/build.log://' ; true )
8787

8888
warnings:
89-
@( grep -n '[[]-W' `find output -name build.log` | sed -E 's/build.log:[0-9]+://' ; true )
89+
@( grep -H '[[]-W' `find output -name build.log` | sed -E 's/build.log://' ; true )
9090

91-
rebuild: clean all test trace_calls warnings
91+
rebuild: clean all test trace_calls
9292

9393
clean:
9494
rm -rf output

0 commit comments

Comments
 (0)