diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -2,19 +2,25 @@ RM := rm -f CFLAGS = \ -D_FORTIFY_SOURCE=2 \ - -D_GNU_SOURCE \ + -D_POSIX_SOURCE=199506 \ -Iinclude \ -O3 \ -Wall \ -Wextra \ + -Wformat=2 \ -Wmissing-declarations \ + -Wmissing-include-dirs \ + -Wnull-dereference \ -Wpedantic \ + -Wpointer-arith \ + -Wstrict-overflow=5 \ -g \ -o$(@) \ -std=c99 OBJS := \ src/chkpar.o \ + src/cpy.o \ src/exi.o \ src/getsum.o \ src/hlp.o \ @@ -29,6 +35,8 @@ BIN := agbsum $(BIN): $(OBJS) $(CC) -o$(BIN) $(OBJS) +$(OBJS): include/agbsum.h + .PHONY: clean install purge clean: |