summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0708815..8c17af6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,18 @@
RM := rm -f
CFLAGS = \
+ -D_FORTIFY_SOURCE=2 \
+ -D_GNU_SOURCE \
-Iinclude \
+ -O3 \
-Wall \
-Wextra \
-Wmissing-declarations \
-Wpedantic \
+ -g \
-o$(@) \
-std=c99
-BIN := agbsum
-
OBJS := \
src/chkpar.o \
src/exi.o \
@@ -22,6 +24,8 @@ OBJS := \
src/pat.o \
src/red.o
+BIN := agbsum
+
$(BIN): $(OBJS)
$(CC) -o$(BIN) $(OBJS)