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:
parent
82acdecfa1
commit
4febf7a77e
6
Makefile
6
Makefile
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue