f3b0d98ca7
Bastet stands for "bastard tetris" and uses a special algorithm designed to choose the worst brick possible.
21 lines
631 B
Text
21 lines
631 B
Text
--- Makefile.orig Tue Oct 19 19:54:58 2004
|
|
+++ Makefile Thu Oct 21 20:43:02 2004
|
|
@@ -1,8 +1,8 @@
|
|
#makefile for bastet (c) 2004 Federico Poloni
|
|
|
|
#default paths
|
|
-BIN_PREFIX=/usr/bin/
|
|
-DATA_PREFIX=/var/games/
|
|
+BIN_PREFIX=$(PREFIX)/bin/
|
|
+DATA_PREFIX=$(PREFIX)/share/bastet/
|
|
HISCORE=bastet.scores
|
|
|
|
#in order to handle highscores properly, bastet must be setuid.
|
|
@@ -41,6 +41,7 @@
|
|
cp $(EXNAME) $(BIN_PREFIX)
|
|
chown $(GAME_USER) $(BIN_PREFIX)$(EXNAME)
|
|
chmod u+s $(BIN_PREFIX)$(EXNAME)
|
|
+ mkdir -p $(DATA_PREFIX)
|
|
touch $(DATA_PREFIX)$(HISCORE)
|
|
chown $(GAME_USER) $(DATA_PREFIX)$(HISCORE)
|
|
chmod 644 $(DATA_PREFIX)$(HISCORE)
|