From 3409a7dbe08bdc98d7663e5dcafaee5792d12139 Mon Sep 17 00:00:00 2001 From: sanine Date: Wed, 18 Jan 2023 13:18:13 -0600 Subject: working prefixes --- yy/makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'yy/makefile') 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 -- cgit v1.2.1