blob: bf03fa628b3dd3a728809cfe7ea027d5bef8d921 (
plain) (
tree)
|
|
--- Makefile.orig Sun Apr 14 09:51:14 2002
+++ Makefile Wed Aug 27 22:16:03 2003
@@ -9,19 +9,18 @@
# November 30, 2001 - April 13, 2002
-PREFIX=/usr/local
MAN_PREFIX=$(PREFIX)
BIN_PREFIX=$(PREFIX)/bin
DATA_PREFIX=$(PREFIX)/share/vectoroids/
JOY=YES
TARGET_DEF=LINUX
-SDL_LIB=$(shell sdl-config --libs) $(MIXER) -lSDL_image
+SDL_LIB=$(shell $(SDL_CONFIG) --libs) $(MIXER) -lSDL_image
NOSOUNDFLAG=__SOUND
MIXER=-lSDL_mixer
-CFLAGS=-Wall -Wno-long-long -pedantic -ansi -O2 \
- $(shell sdl-config --cflags) -D$(NOSOUNDFLAG) \
+CFLAGS+= \
+ $(shell $(SDL_CONFIG) --cflags) -D$(NOSOUNDFLAG) \
-DDATA_PREFIX=\"$(DATA_PREFIX)\" -DJOY_$(JOY) -D$(TARGET_DEF)
|