From: Erik de Castro Lopo Date: Sat, 11 Jun 2016 02:14:04 +0000 (+1000) Subject: Makefile: Separate out CFLAGS X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=709cecfcc41cd0ecf433f060d2d8db618253b607;p=liskon_frotz.git Makefile: Separate out CFLAGS --- 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). #