39 lines
1 KiB
Text
39 lines
1 KiB
Text
|
$NetBSD: patch-aa,v 1.1.1.1 2002/09/12 00:18:27 wiz Exp $
|
||
|
|
||
|
--- Makefile.orig Tue Mar 19 02:59:43 2002
|
||
|
+++ Makefile Thu Mar 28 11:43:12 2002
|
||
|
@@ -12,15 +12,17 @@
|
||
|
|
||
|
# specify path to X11 on your system
|
||
|
# if undefined, use system defaults (works with Linux/gcc/libc5)
|
||
|
-X11_PATH = /usr/X11
|
||
|
+X11_PATH = ${X11BASE}
|
||
|
|
||
|
# specify directory for read-only game data (like graphics, sounds, levels)
|
||
|
# default is '.', so you can play without installing game data somewhere
|
||
|
# RO_GAME_DIR = /usr/games
|
||
|
+RO_GAME_DIR = ${PREFIX}/share/mirrormagic
|
||
|
|
||
|
# specify directory for writable game data (like highscore files)
|
||
|
# default is '.', so you can play without installing game data somewhere
|
||
|
# RW_GAME_DIR = /var/games
|
||
|
+RW_GAME_DIR = /var/games/mirrormagic
|
||
|
|
||
|
# uncomment this if your system has no joystick include file
|
||
|
# JOYSTICK = -DNO_JOYSTICK
|
||
|
@@ -42,13 +44,12 @@
|
||
|
|
||
|
.EXPORT_ALL_VARIABLES:
|
||
|
|
||
|
-MAKE = make
|
||
|
|
||
|
SRC_DIR = src
|
||
|
MAKE_CMD = $(MAKE) -C $(SRC_DIR)
|
||
|
|
||
|
all:
|
||
|
- @$(MAKE_CMD) TARGET=x11
|
||
|
+ @$(MAKE_CMD) TARGET=sdl
|
||
|
|
||
|
x11:
|
||
|
@$(MAKE_CMD) TARGET=x11
|