mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 14:52:00 +00:00
* Split lcc $AR into $AR and $ARFLAGS (from vapier)
This commit is contained in:
parent
7b84b0295f
commit
c02a7fce3c
1 changed files with 4 additions and 3 deletions
|
@ -15,7 +15,8 @@ CC=gcc
|
|||
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 @@ $(BD)q3rcc$(E):: $(BD)main$(O) $(BD)librcc$(A) $(EXTRAOBJS)
|
|||
$(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 @@ $(BD)host$(O): $(HOSTFILE); $(CC) $(LCC_CFLAGS) -c -DSYSTEM=\"\" -o $@ $(HOSTFIL
|
|||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue