allow $(optimize) to be overriden easily

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@22 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Joshua Kwan 2003-12-31 18:58:20 +00:00
parent 82acdecfa1
commit 4febf7a77e
1 changed files with 5 additions and 1 deletions

View File

@ -2,9 +2,13 @@ VERSION = 1.3.10.1
NAME = dgamelaunch
exclusions = CVS .cvsignore
ifndef optimize
optimize = -O0
endif
CC = gcc
LDFLAGS =
CFLAGS = -g3 -O0 -Wall -W -Wno-unused-parameter $(DEFS)
CFLAGS = -g3 $(optimize) -Wall -W -Wno-unused-parameter $(DEFS)
DEFS = -DVERSION=\"$(VERSION)\"
SRCS = virus.c ttyrec.c dgamelaunch.c io.c ttyplay.c stripgfx.c
OBJS = $(SRCS:.c=.o)