From ca1f5fcecdda1f33668825d35fdddcf371ba3bdf Mon Sep 17 00:00:00 2001 From: tma Date: Tue, 1 Nov 2005 22:09:15 +0000 Subject: * Split off q_platform.h from q_shared.h * Removed lcc PATH hack and replaced with something slightly less hacky * Removed all platform specific hostfiles from lcc and replaced with bytecode.c (from ankon) * Turned lcc option "-S" on permanently * Improved q3cpp so that it recursively adds include dirs to its list git-svn-id: svn://svn.icculus.org/quake3/trunk@209 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/tools/lcc/makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'code/tools/lcc/makefile') diff --git a/code/tools/lcc/makefile b/code/tools/lcc/makefile index 10f551a..0eacaf2 100644 --- a/code/tools/lcc/makefile +++ b/code/tools/lcc/makefile @@ -1,6 +1,5 @@ # $Id: makefile 145 2001-10-17 21:53:10Z timo $ PLATFORM=$(shell uname|sed -e s/_.*//|tr A-Z a-z) -HOSTFILE=etc/linux.c TEMPDIR=/tmp A=.a O=.o @@ -27,7 +26,6 @@ BD=$(BUILDDIR)/ T=$(TSTDIR)/ ifeq ($(PLATFORM),SunOS) INSTALL=ginstall -HOSTFILE=etc/gcc-solaris.c else INSTALL=install endif @@ -148,7 +146,7 @@ $(BD)bprint$(O): etc/bprint.c; $(CC) $(LCC_CFLAGS) -c -Isrc -o $@ etc/bprint.c $(BD)q3lcc$(E): $(BD)q3lcc$(O) $(BD)host$(O); $(LD) $(LDFLAGS) -o $@ $(BD)q3lcc$(O) $(BD)host$(O) $(BD)q3lcc$(O): etc/lcc.c; $(CC) $(LCC_CFLAGS) -c -DTEMPDIR=\"$(TEMPDIR)\" -o $@ etc/lcc.c -$(BD)host$(O): $(HOSTFILE); $(CC) $(LCC_CFLAGS) -c -DSYSTEM=\"\" -o $@ $(HOSTFILE) +$(BD)host$(O): etc/bytecode.c; $(CC) $(LCC_CFLAGS) -c -DSYSTEM=\"\" -o $@ etc/bytecode.c LIBOBJS=$(BD)assert$(O) $(BD)bbexit$(O) $(BD)yynull$(O) -- cgit v1.2.3