Ticket #70123: Makefile.diff
File Makefile.diff, 784 bytes (added by contextnerror, 5 months ago) |
---|
-
Makefile
old new 10 10 # User-definable stuff: 11 11 12 12 CC=gcc 13 PREFIX =/usr/local13 PREFIX?=/usr/local 14 14 MAN_PREFIX=$(PREFIX) 15 15 BIN_PREFIX=$(PREFIX)/bin 16 16 DATA_PREFIX=$(PREFIX)/share/defendguin/ 17 JOY =YES17 JOY?=YES 18 18 EXTRA_LIBS= # override, e.g., with "-lbe" for Haiku 19 19 20 20 21 21 # Other definitions: 22 22 23 23 SDL_CFLAGS := $(shell sdl-config --cflags) 24 SDL_LDFLAGS := $(shell sdl-config --libs) -L/usr/X11R6/lib24 SDL_LDFLAGS := $(shell sdl-config --libs) 25 25 MIXER=-lSDL_mixer 26 26 NOSOUNDFLAG=__SOUND 27 CFLAGS =-Wall $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" -D$(NOSOUNDFLAG) \27 CFLAGS+=-Wall $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" -D$(NOSOUNDFLAG) \ 28 28 -DJOY_$(JOY) 29 29 SDL_LIB=$(SDL_LDFLAGS) $(MIXER) 30 30