mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-27 06:02:16 +00:00
36b97f60a0
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2197 fc73d0e0-1445-4013-8a0c-d673dee63da5
18 lines
401 B
Makefile
18 lines
401 B
Makefile
EXTRACFLAGS=-Wall -O2
|
|
CC=gcc $(EXTRACFLAGS)
|
|
STRIP=strip
|
|
|
|
STRIPFLAGS=--strip-unneeded --remove-section=.comment
|
|
|
|
OBJS = netchan.o parse.o qw.o source.o bsp.o rcon.o mdfour.o crc.o
|
|
|
|
qtv: $(OBJS) qtv.h
|
|
$(CC) $(CFLAGS) $(OBJS) -o $@.db -lm $(LDFLAGS)
|
|
$(STRIP) $(STRIPFLAGS) $@.db -o $@
|
|
|
|
qtv.exe:
|
|
$(MAKE) qtv CFLAGS=-mno-cygwin LDFLAGS="-lwsock32 -lwinmm"
|
|
mv qtv qtv.exe
|
|
|
|
clean:
|
|
rm -rf qtv qtv.db *.o
|