aboutsummaryrefslogtreecommitdiff
path: root/games/randomshooter/files/patch-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/randomshooter/files/patch-makefile')
-rw-r--r--games/randomshooter/files/patch-makefile23
1 files changed, 10 insertions, 13 deletions
diff --git a/games/randomshooter/files/patch-makefile b/games/randomshooter/files/patch-makefile
index 0a0eb18378a2..ab8c8e6cb70f 100644
--- a/games/randomshooter/files/patch-makefile
+++ b/games/randomshooter/files/patch-makefile
@@ -1,11 +1,15 @@
---- makefile.orig 2008-02-26 00:44:53.000000000 +0300
-+++ makefile 2008-02-27 23:28:42.000000000 +0300
-@@ -1,19 +1,19 @@
- VERSION = 0.1
+--- makefile.orig 2008-03-02 14:32:18.000000000 +0300
++++ makefile 2008-03-18 23:20:03.000000000 +0300
+@@ -1,22 +1,20 @@
+-RELEASE = 0
++RELEASE = 1
+ VERSION = 0.2
+-BINDIR = /usr/games
+-DATADIR = /usr/share/games/randomshooter/
--CFLAGS = -Wall -pedantic -Werror -DUNIX -DVERSION=$(VERSION)
+-CFLAGS = -Wall -pedantic -Werror -DUNIX -DVERSION=$(VERSION) -DINSTALL_DIR=\"$(DATADIR)\" -DRELEASE=$(RELEASE)
-LFLAGS = `sdl-config --libs` -lSDL -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_net
-+CXXFLAGS += -Wall -DUNIX -DVERSION=$(VERSION) `${SDL_CONFIG} --cflags`
++CXXFLAGS += -Wall -DUNIX -DVERSION=$(VERSION) -DINSTALL_DIR=\"$(DATADIR)\" -DRELEASE=$(RELEASE) `${SDL_CONFIG} --cflags`
+LFLAGS = `${SDL_CONFIG} --libs` -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_net
OBJS = animation.o audio.o bullets.o collisions.o colors.o draw.o enemies.o entities.o font.o game.o highscores.o
OBJS += init.o input.o main.o menu.o movement.o particles.o player.o random.o replay.o score.o screenshot.o
@@ -24,10 +28,3 @@
# linking the program.
$(PROG): $(OBJS)
-@@ -24,4 +24,4 @@
- rm $(PROG) *.o
-
- install:
-- echo "make install isn't supported yet..."
-\ No newline at end of file
-+ echo "make install isn't supported yet..."