diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-03-01 15:33:22 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-03-01 15:33:22 -0800 |
commit | 268bb50e8013469bb61eb0e3beeddce365eb7755 (patch) | |
tree | cd1f9d3a4d0ba5dd798ae20a5c1c057a73d25d14 /Makefile | |
parent | 2d41d385f331b1e55a02917593a6a2464dfe38cd (diff) |
Enabled more warnings, fixed the warnings.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,14 +1,15 @@ .PHONY: all clean +CFLAGS=-std=c99 -O3 -Wall -Wextra -pedantic all: pbstream.o pbstruct.o tests clean: rm -f pbstream.o pbstruct.o tests pbstream.o: pbstream.c pbstream.h - gcc -std=c99 -O3 -Wall -o pbstream.o -c pbstream.c + gcc $(CFLAGS) -o pbstream.o -c pbstream.c pbstruct.o: pbstruct.c pbstruct.h - gcc -std=c99 -O3 -Wall -o pbstruct.o -c pbstruct.c + gcc $(CFLAGS) -o pbstruct.o -c pbstruct.c tests: tests.c pbstream.c pbstream.h - gcc -std=c99 -O3 -Wall -o tests tests.c + gcc $(CFLAGS) -o tests tests.c |