1998-05-19 21:58:18 -04:00
|
|
|
--- Makefile.orig Mon Jul 22 08:11:34 1996
|
2001-03-17 10:33:56 -05:00
|
|
|
+++ Makefile Sat Mar 17 16:34:09 2001
|
|
|
|
@@ -1,13 +1,12 @@
|
1998-05-19 21:58:18 -04:00
|
|
|
-INSTALL_BIN_PATH = /usr/local/bin
|
|
|
|
-INSTALL_SCORE_PATH = /usr/local/lib/xminehunter
|
2000-04-28 11:32:25 -04:00
|
|
|
+INSTALL_BIN_PATH = ${LOCALBASE}/bin
|
|
|
|
+INSTALL_SCORE_PATH = ${LOCALBASE}/lib/X11/xminehunter
|
1998-05-19 21:58:18 -04:00
|
|
|
|
|
|
|
-INCLUDES = -I/usr/local/X11R5/include
|
|
|
|
-LIBS = -L/usr/local/X11R5/lib -lXm -lXt -lXpm -lXext -lX11
|
2000-04-28 11:32:25 -04:00
|
|
|
+INCLUDES = -I${LOCALBASE}/include -I${X11BASE}/include
|
|
|
|
+LIBS = -L${LOCALBASE}/lib -L${X11BASE}/lib ${MOTIFLIB} -lXt -lXpm -lXext -lX11
|
1998-05-19 21:58:18 -04:00
|
|
|
|
2001-03-17 10:33:56 -05:00
|
|
|
+CC = ${CXX}
|
1998-05-19 21:58:18 -04:00
|
|
|
|
2001-03-17 10:33:56 -05:00
|
|
|
-CC = g++
|
|
|
|
-
|
|
|
|
-CFLAGS = -DMINE_SCORE_PATH=\"${INSTALL_SCORE_PATH}\"
|
|
|
|
+CFLAGS += -DMINE_SCORE_PATH=\"${INSTALL_SCORE_PATH}\"
|
|
|
|
|
|
|
|
# no need to change anything below this line
|
|
|
|
|
|
|
|
@@ -50,7 +49,7 @@ bitmap.o: ${HEADERS} bitmap.cc
|
2000-06-02 15:41:58 -04:00
|
|
|
|
|
|
|
install:
|
|
|
|
mkdir -p ${INSTALL_SCORE_PATH}
|
|
|
|
- chmod 333 ${INSTALL_SCORE_PATH}
|
|
|
|
+ chmod 666 ${INSTALL_SCORE_PATH}
|
|
|
|
cp xminehunter ${INSTALL_BIN_PATH}
|
|
|
|
|
|
|
|
clean:
|