From 709cecfcc41cd0ecf433f060d2d8db618253b607 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Sat, 11 Jun 2016 12:14:04 +1000 Subject: [PATCH] Makefile: Separate out CFLAGS --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e06e24c..4df1267 100644 --- a/Makefile +++ b/Makefile @@ -3,12 +3,15 @@ # CC = gcc +# Enable compiler warnings. This is an absolute minimum. +CFLAGS += -Wall -Wextra + # Define your optimization flags. # # These are good for regular use. #OPTS = -O2 -fomit-frame-pointer -falign-functions=2 -falign-loops=2 -falign-jumps=2 # These are handy for debugging. -OPTS = -g -Wall -Wextra +OPTS = $(CFLAGS) -g # Define where you want Frotz installed (typically /usr/local). # -- 2.34.1