diff options
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 |