aboutsummaryrefslogtreecommitdiffstats
path: root/QW/server/makefile
diff options
context:
space:
mode:
authorTravis Bradshaw <travis.bradshaw@idsoftware.com>2012-01-31 14:32:09 -0600
committerTravis Bradshaw <travis.bradshaw@idsoftware.com>2012-01-31 14:32:09 -0600
commit0023db327bc1db00068284b70e1db45857aeee35 (patch)
tree01dd8366d20bd674741cfe8ceb069d82a2e33973 /QW/server/makefile
downloadquake-pum-0023db327bc1db00068284b70e1db45857aeee35.tar.gz
The Quake sources as originally release under the GPL license on December 21, 1999
Diffstat (limited to 'QW/server/makefile')
-rw-r--r--QW/server/makefile52
1 files changed, 52 insertions, 0 deletions
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
+