blob: 407b1326f7b9d7d72039477f27bab09b9beb6364 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
--- Makefile.orig Thu Feb 26 09:14:35 1998
+++ Makefile Wed Nov 8 22:45:42 2000
@@ -25,10 +25,10 @@
# Directory for XNibbles specific data
# This must be set correctly at compile time
- DATADIR = /usr/local/games/xnibbles
+ DATADIR = ${PREFIX}/share/xnibbles
# Prefix to find bin and man directories for installation
- PREFIX = /usr/local
+ PREFIX ?= /usr/local
# Install program
INSTALL = /usr/bin/install
@@ -76,9 +76,9 @@
linux:
$(MAKE) OBJECTS=$(OBJECTS) \
- CC=$(CC) LDFLAGS='-L/usr/X11R6/lib' \
- CFLAGS='-Wall -O2 $(SDEV) \
- -I/usr/X11R6/include -fwritable-strings \
+ CC=${CXX} LDFLAGS='-L${X11BASE}/lib' \
+ CFLAGS='${CXXFLAGS} $(SDEV) \
+ -I${X11BASE}/include -fwritable-strings \
$(JDEV) -DDATADIR=\"$(DATADIR)\"' \
xnibbles
|