From 0023db327bc1db00068284b70e1db45857aeee35 Mon Sep 17 00:00:00 2001 From: Travis Bradshaw Date: Tue, 31 Jan 2012 14:32:09 -0600 Subject: The Quake sources as originally release under the GPL license on December 21, 1999 --- QW/server/makefile | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 QW/server/makefile (limited to 'QW/server/makefile') diff --git a/QW/server/makefile b/QW/server/makefile new file mode 100644 index 0000000..14cf0ca --- /dev/null +++ b/QW/server/makefile @@ -0,0 +1,52 @@ + +#CFLAGS = -g -Wall -DDEBUG -I../client -I. -DSERVERONLY +#CFLAGS = -mpentium -O6 -Wall -I../client -I. -DSERVERONLY -fomit-frame-pointer -fno-strength-reduce +#CFLAGS = -mpentium -O2 -Wall -I../client -I. -DSERVERONLY -fomit-frame-pointer -fno-strength-reduce +CFLAGS=-DSERVERONLY -I../client -V2.7.2.1 -bi486-linux/ -O6 -Wall -fomit-frame-pointer -fno-strength-reduce + +EXE = qwsv + +OFILES =\ + pr_cmds.o \ + pr_edict.o \ + pr_exec.o \ + sv_init.o \ + sv_main.o \ + sv_ents.o \ + sv_send.o \ + sv_move.o \ + sv_phys.o \ + sv_user.o \ + sv_ccmds.o \ + world.o \ + sys_unix.o \ + model.o \ + cmd.o \ + common.o \ + crc.o \ + cvar.o \ + mathlib.o \ + zone.o \ + pmove.o \ + pmovetst.o \ + net_chan.o \ + net_udp.o + +LDFLAGS = -lm + +$(EXE) : $(OFILES) + cc $(CFLAGS) -o $(EXE) $(OFILES) $(LDFLAGS) + +clean: + rm -f $(OFILES) $(EXE) + +app: + make "CFLAGS = -O4 -g -Wall -I../client -DSERVERONLY" + +profile: + make "CFLAGS = -g -pg -O -Wall -I../client -DPROFILE" + cp $(EXE) /LocalApps + +.c.o: ; cc -c $(CFLAGS) -o $@ $*.c +.s.o: ; cc -c $(CFLAGS) -o $@ $*.s + -- cgit v1.2.3