Skip to content

Commit b4bade5

Browse files
Daniel WhiteDaniel White
authored andcommitted
Fixed bug in Makefile size command. Due to passing the wrong arguments to gcc, macros were handled incorrectly and line numbers could be included.
1 parent 04e87cd commit b4bade5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ all:
33
$(OBJS):
44

55
size:
6-
@gcc -fpreprocessed -dD -E iota.c | tr '\n' ' ' | sed 's/[ \t]//g' | wc -c
6+
@gcc -fpreprocessed -dN -P -E iota.c | tr '\n' ' ' | sed 's/[ \t]//g' | wc -c

0 commit comments

Comments
 (0)