summaryrefslogtreecommitdiff
path: root/yy/makefile
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-01-18 13:18:13 -0600
committersanine <sanine.not@pm.me>2023-01-18 13:18:13 -0600
commit3409a7dbe08bdc98d7663e5dcafaee5792d12139 (patch)
tree29776d59a8f9417f426e027a7397403a68811232 /yy/makefile
parent9e19578675d8ad6a7c252e884b26e61ab9159b4a (diff)
working prefixes
Diffstat (limited to 'yy/makefile')
-rw-r--r--yy/makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/yy/makefile b/yy/makefile
index 5c9ce5f..76b5c77 100644
--- a/yy/makefile
+++ b/yy/makefile
@@ -1,3 +1,5 @@
+WARNINGS = -Wall -Wextra -Wpedantic
+
all: kalmia
kalmia.tab.c: kalmia.y
@@ -7,7 +9,7 @@ kalmia.lex.c: kalmia.l
flex -o "$@" --header-file="kalmia.lex.h" kalmia.l
kalmia: kalmia.tab.c kalmia.lex.c main.c kalmia.h
- gcc -o kalmia main.c kalmia.tab.c kalmia.lex.c -lfl
+ gcc -o kalmia ${WARNINGS} main.c kalmia.tab.c kalmia.lex.c
clean:
rm kalmia.lex.c kalmia.lex.h kalmia.tab.c kalmia.tab.h kalmia