Because I like blaming Spike.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2808 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
c0a4a2b8fe
commit
c212c7e5e0
1 changed files with 5 additions and 3 deletions
|
@ -1,13 +1,15 @@
|
||||||
CFLAGS+=-Wall -O2
|
|
||||||
CC=gcc
|
CC=gcc
|
||||||
|
SPIKEISALAZYBUGGERCFLAGS=-Wall -O2
|
||||||
STRIP=strip
|
STRIP=strip
|
||||||
|
|
||||||
STRIPFLAGS=--strip-unneeded --remove-section=.comment
|
STRIPFLAGS=--strip-unneeded --remove-section=.comment
|
||||||
|
|
||||||
OBJS = netchan.o parse.o msg.o qw.o source.o bsp.o rcon.o mdfour.o crc.o control.o forward.o pmove.o httpsv.o
|
OBJS = netchan.o parse.o msg.o qw.o source.o bsp.o rcon.o mdfour.o crc.o control.o forward.o pmove.o httpsv.o
|
||||||
|
|
||||||
|
%.o: %.c
|
||||||
|
$(CC) $(SPIKEISALAZYBUGGERCFLAGS) $(CFLAGS) $< -c -o $@
|
||||||
|
|
||||||
qtv: $(OBJS) qtv.h
|
qtv: $(OBJS) qtv.h
|
||||||
$(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $@.db -lm
|
$(CC) $(SPIKEISALAZYBUGGERCFLAGS) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $@.db -lm
|
||||||
$(STRIP) $(STRIPFLAGS) $@.db -o $@
|
$(STRIP) $(STRIPFLAGS) $@.db -o $@
|
||||||
|
|
||||||
qtv.exe: *.c *.h
|
qtv.exe: *.c *.h
|
||||||
|
|
Loading…
Reference in a new issue