aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools/lcc/makefile
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-29 22:05:20 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-29 22:05:20 +0000
commit72dc3da821c616b97246e6b7cf5587c2e936d144 (patch)
tree0293ef990c25d79e7e461923c7a43afffdf9ae67 /code/tools/lcc/makefile
parent7c7b8ece05c0fb249a08e2da1f746f8a34a01b31 (diff)
downloadioquake3-aero-72dc3da821c616b97246e6b7cf5587c2e936d144.tar.gz
ioquake3-aero-72dc3da821c616b97246e6b7cf5587c2e936d144.zip
* Beginnings of Solaris support from Vincent S. Cojot
* Note this patch also splits USE_SDL into USE_SDL_VIDEO and USE_SDL_AUDIO git-svn-id: svn://svn.icculus.org/quake3/trunk@199 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/tools/lcc/makefile')
-rw-r--r--code/tools/lcc/makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/code/tools/lcc/makefile b/code/tools/lcc/makefile
index 7f78156..10f551a 100644
--- a/code/tools/lcc/makefile
+++ b/code/tools/lcc/makefile
@@ -25,6 +25,12 @@ BUILDDIR=build
TSTDIR=$(BUILDDIR)/$(TARGET)/tst
BD=$(BUILDDIR)/
T=$(TSTDIR)/
+ifeq ($(PLATFORM),SunOS)
+ INSTALL=ginstall
+HOSTFILE=etc/gcc-solaris.c
+else
+ INSTALL=install
+endif
# $Id: makefile 145 2001-10-17 21:53:10Z timo $
@@ -237,9 +243,9 @@ testclean:
$(RM) $(T)yacc$(E) $(T)yacc.s $(T)yacc.2 $(T)yacc.1
install:: all
- install -s -m 0755 $(BD)q3lcc$(E) ../
- install -s -m 0755 $(BD)q3cpp$(E) ../
- install -s -m 0755 $(BD)q3rcc$(E) ../
+ $(INSTALL) -s -m 0755 $(BD)q3lcc$(E) ../
+ $(INSTALL) -s -m 0755 $(BD)q3cpp$(E) ../
+ $(INSTALL) -s -m 0755 $(BD)q3rcc$(E) ../
uninstall::
-$(RM) ../q3lcc$(E)