r183 - trunk/code/tools/lcc
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Oct 26 18:52:17 EDT 2005
Author: tma
Date: 2005-10-26 18:52:17 -0400 (Wed, 26 Oct 2005)
New Revision: 183
Modified:
trunk/code/tools/lcc/makefile
Log:
* Split lcc $AR into $AR and $ARFLAGS (from vapier)
Modified: trunk/code/tools/lcc/makefile
===================================================================
--- trunk/code/tools/lcc/makefile 2005-10-26 20:52:53 UTC (rev 182)
+++ trunk/code/tools/lcc/makefile 2005-10-26 22:52:17 UTC (rev 183)
@@ -15,7 +15,8 @@
LCC_CFLAGS=-O2 -Wall -fno-strict-aliasing
LDFLAGS=
LD=gcc
-AR=ar ruv
+AR=ar
+ARFLAGS=cru
RANLIB=ranlib
DIFF=diff
RM=rm -f
@@ -77,7 +78,7 @@
$(LD) $(LDFLAGS) -o $@ $(BD)main$(O) $(EXTRAOBJS) $(BD)librcc$(A) $(EXTRALIBS)
$(BD)librcc$(A): $(RCCOBJS)
- $(AR) $@ $(RCCOBJS); $(RANLIB) $@ || true
+ $(AR) $(ARFLAGS) $@ $(RCCOBJS); $(RANLIB) $@ || true
$(RCCOBJS): src/c.h src/token.h src/config.h
@@ -145,7 +146,7 @@
LIBOBJS=$(BD)assert$(O) $(BD)bbexit$(O) $(BD)yynull$(O)
-$(BD)liblcc$(A): $(LIBOBJS); $(AR) $@ $(BD)assert$(O) $(BD)bbexit$(O) $(BD)yynull$(O); $(RANLIB) $@ || true
+$(BD)liblcc$(A): $(LIBOBJS); $(AR) $(ARFLAGS) $@ $(BD)assert$(O) $(BD)bbexit$(O) $(BD)yynull$(O); $(RANLIB) $@ || true
$(BD)assert$(O): lib/assert.c; $(CC) $(LCC_CFLAGS) -c -o $@ lib/assert.c
$(BD)yynull$(O): lib/yynull.c; $(CC) $(LCC_CFLAGS) -c -o $@ lib/yynull.c
More information about the quake3-commits
mailing list