aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix/Makefile
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-26 16:08:38 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-26 16:08:38 +0000
commit9856ae6b514b8018c507586eb44900c52b5dcee2 (patch)
tree4cddc325aaede6deef74c965c220a2c5143167fd /code/unix/Makefile
parent9219cdaa68b921443551427e49361d814bcd9531 (diff)
downloadioquake3-aero-9856ae6b514b8018c507586eb44900c52b5dcee2.tar.gz
ioquake3-aero-9856ae6b514b8018c507586eb44900c52b5dcee2.zip
* Reintroduced the copyfiles rule
git-svn-id: svn://svn.icculus.org/quake3/trunk@111 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix/Makefile')
-rw-r--r--code/unix/Makefile23
1 files changed, 22 insertions, 1 deletions
diff --git a/code/unix/Makefile b/code/unix/Makefile
index 8a22bf1..f14c97f 100644
--- a/code/unix/Makefile
+++ b/code/unix/Makefile
@@ -116,7 +116,7 @@ ifeq ($(PLATFORM),linux)
# bk001205: no mo' -I/usr/include/glide, no FX
# bk001205: no mo' -Dstricmp=strcasecmp, see q_shared.h
- BASE_CFLAGS = -pipe -Wall -Wimplicit -Wstrict-prototypes
+ BASE_CFLAGS = -pipe -Wall -Wimplicit -Wstrict-prototypes -Werror
#BASE_CFLAGS += -Werror # Disabled due to #warning usage.
# rcg010216: DLL_ONLY for PPC
ifeq ($(strip $(DLL_ONLY)),true)
@@ -1535,6 +1535,27 @@ $(B)/missionpack/ui/q_shared.o : $(GDIR)/q_shared.c; $(DO_SHLIB_CC) -DMISSIONPA
# MISC
#############################################################################
+copyfiles:
+ @if [ ! -d $(COPYDIR) ]; then echo "You need to set COPYDIR to where you installed Quake III!"; false; fi
+ -mkdir -p -m 0755 $(COPYDIR)
+ install -s -m 0755 $(BR)/linuxquake3 $(COPYDIR)/quake3
+ #install -s -m 0755 $(BR)/linuxquake3-smp $(COPYDIR)/quake3-smp
+ install -s -m 0755 $(BR)/linuxq3ded $(COPYDIR)/q3ded
+ -mkdir -p -m 0755 $(COPYDIR)/baseq3
+ install -s -m 0755 $(BR)/baseq3/cgame$(ARCH).$(SHLIBEXT) \
+ $(COPYDIR)/baseq3/.
+ install -s -m 0755 $(BR)/baseq3/qagame$(ARCH).$(SHLIBEXT) \
+ $(COPYDIR)/baseq3/.
+ install -s -m 0755 $(BR)/baseq3/ui$(ARCH).$(SHLIBEXT) \
+ $(COPYDIR)/baseq3/.
+ -mkdir -p -m 0755 $(COPYDIR)/missionpack
+ install -s -m 0755 $(BR)/missionpack/cgame$(ARCH).$(SHLIBEXT) \
+ $(COPYDIR)/missionpack/.
+ install -s -m 0755 $(BR)/missionpack/qagame$(ARCH).$(SHLIBEXT) \
+ $(COPYDIR)/missionpack/.
+ install -s -m 0755 $(BR)/missionpack/ui$(ARCH).$(SHLIBEXT) \
+ $(COPYDIR)/missionpack/.
+
# TTimo: FIXME: doesn't clean the binary and .so
clean:clean-debug clean-release