freebsd-ports/games/xtux/files/patch-aa
Eric Anholt 9dd3782cc9 - Fix build on -stable
- Support CC/CFLAGS/MAKE/X11BASE properly

PR:		ports/52274
Submitted by:	Ports Fury
2003-05-15 19:47:55 +00:00

57 lines
1.4 KiB
Text

--- Makefile.orig Wed Feb 5 00:59:01 2003
+++ Makefile Thu May 15 19:59:20 2003
@@ -5,7 +5,7 @@
#============================================================#
#Change this to where you want to put the data directory.
-DATADIR = `pwd`/data
+#DATADIR = `pwd`/data
#Eg you might want to put the data files here......
#DATADIR = /usr/share/games/xtux
@@ -15,36 +15,36 @@
CL_SRC_DIR = src/client
GZ_SRC_DIR = src/ggz
-MAKE = @make -C
+#MAKE = @make -C
all: common ggz client server
clean:
- $(MAKE) $(CM_SRC_DIR) clean
- $(MAKE) $(SV_SRC_DIR) clean
- $(MAKE) $(CL_SRC_DIR) clean
- $(MAKE) $(GZ_SRC_DIR) clean
+ $(MAKE) -C $(CM_SRC_DIR) clean
+ $(MAKE) -C $(SV_SRC_DIR) clean
+ $(MAKE) -C $(CL_SRC_DIR) clean
+ $(MAKE) -C $(GZ_SRC_DIR) clean
common:
@echo
@echo " ************* Building COMMON lib *************"
@echo
- $(MAKE) $(CM_SRC_DIR) $(MFLAGS)
+ $(MAKE) -C $(CM_SRC_DIR) $(MFLAGS)
server:
@echo
@echo " ************* Building SERVER *************"
@echo
- $(MAKE) $(SV_SRC_DIR) $(MFLAGS)
+ $(MAKE) -C $(SV_SRC_DIR) $(MFLAGS)
client:
@echo
@echo " ************* Building CLIENT *************"
@echo
- $(MAKE) $(CL_SRC_DIR) $(MFLAGS)
+ $(MAKE) -C $(CL_SRC_DIR) $(MFLAGS)
ggz:
@echo
@echo " ************* Building GGZ *************"
@echo
- $(MAKE) $(GZ_SRC_DIR) $(MFLAGS)
+ $(MAKE) -C $(GZ_SRC_DIR) $(MFLAGS)