2001-08-15 13:18:14 -04:00
|
|
|
$OpenBSD: patch-Makefile,v 1.3 2001/08/15 17:18:14 pvalchev Exp $
|
|
|
|
--- Makefile.orig Sun Jul 29 19:32:36 2001
|
|
|
|
+++ Makefile Wed Aug 15 11:05:36 2001
|
|
|
|
@@ -24,14 +24,14 @@ ifndef OPTIMIZE
|
2001-07-25 04:52:06 -04:00
|
|
|
OPTIMIZE=-O3
|
2001-07-19 22:09:42 -04:00
|
|
|
endif
|
|
|
|
|
2001-08-15 13:18:14 -04:00
|
|
|
-CFLAGS=-Wall $(OPTIMIZE) $(SDL_CFLAGS) -DDATAPREFIX=\"$(datadir)/icebreaker\" -DHISCOREPREFIX=\"$(highscoredir)\"
|
|
|
|
+CFLAGS+=-Wall $(SDL_CFLAGS) -DDATAPREFIX=\"$(datadir)/icebreaker\" -DHISCOREPREFIX=\"$(highscoredir)\"
|
2001-07-19 22:09:42 -04:00
|
|
|
|
|
|
|
SRC=icebreaker.c cursor.c grid.c laundry.c line.c penguin.c sound.c \
|
2001-08-15 13:18:14 -04:00
|
|
|
level.c intro.c text.c status.c transition.c hiscore.c dialog.c \
|
|
|
|
options.c fullscreen.c
|
2001-07-19 22:09:42 -04:00
|
|
|
|
|
|
|
SDL_MIXER=-lSDL_mixer
|
|
|
|
-SDL_LIB=$(SDL_LDFLAGS) $(SDL_MIXER)
|
|
|
|
+SDL_LIB=$(SDL_LDFLAGS) $(SDL_MIXER) -lsmpeg
|
2001-08-15 13:18:14 -04:00
|
|
|
SDL_CFLAGS := $(shell $(SDLCONFIG) --cflags)
|
|
|
|
SDL_LDFLAGS := $(shell $(SDLCONFIG) --libs)
|
2001-07-25 04:52:06 -04:00
|
|
|
VERSION := $(shell awk '/^\#define VERSION/ { print $$3 }' icebreaker.h)
|