2000-05-13 11:06:43 +00:00
|
|
|
include <win32.mak>
|
|
|
|
#!include <winopt.mak>
|
2000-05-13 23:44:32 +00:00
|
|
|
|
2000-05-13 11:06:43 +00:00
|
|
|
all:server.exe
|
2000-05-13 23:44:32 +00:00
|
|
|
|
2000-06-10 03:36:28 +00:00
|
|
|
INCPATH=E:\quakesrc\q1src\incs # Path to other includes (mgl, etc)
|
|
|
|
MGLPATH=E:\quakesrc\q1src\libs # Path to other librarys (mgl)
|
|
|
|
DXPATH=E:\quakesrc\q1src\libs # Path to other librarys (DirectX)
|
|
|
|
|
|
|
|
LIBS=winmm.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comctl32.lib wsock32.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib $(DXPATH)\dinput.lib $(DXPATH)\dxguid.lib $(MGLPATH)\mgllt.lib
|
|
|
|
NCFLAGS=/c /nologo /DWIN32 /D_WIN32 /I..\include /I..\include\win32\vc /MT /DHAVE_CONFIG_H /I..\include\win32 /I$(INCPATH) /Zi
|
2000-05-13 11:06:43 +00:00
|
|
|
COM_sources=\
|
|
|
|
net_chan.obj \
|
|
|
|
net_com.obj \
|
|
|
|
pmove.obj \
|
|
|
|
pmovetst.obj \
|
|
|
|
zone.obj \
|
|
|
|
mdfour.obj \
|
|
|
|
mathlib.obj \
|
|
|
|
cvar.obj \
|
|
|
|
crc.obj \
|
2000-06-10 03:36:28 +00:00
|
|
|
com.obj \
|
|
|
|
qargs.obj \
|
|
|
|
quakefs.obj \
|
|
|
|
quakeio.obj \
|
|
|
|
qendian.obj \
|
2000-05-13 11:06:43 +00:00
|
|
|
cmd.obj \
|
2000-06-10 03:36:28 +00:00
|
|
|
link.obj \
|
|
|
|
checksum.obj \
|
|
|
|
info.obj \
|
|
|
|
net_com.obj \
|
|
|
|
msg.obj \
|
|
|
|
sizebuf.obj \
|
|
|
|
va.obj \
|
|
|
|
fnmatch.obj \
|
|
|
|
dirent.obj \
|
|
|
|
buildnum.obj \
|
2000-05-13 11:06:43 +00:00
|
|
|
model.obj
|
|
|
|
|
|
|
|
SV_sources=\
|
|
|
|
pr_cmds.obj \
|
|
|
|
pr_edict.obj \
|
|
|
|
pr_exec.obj \
|
|
|
|
sv_init.obj \
|
|
|
|
sv_main.obj \
|
|
|
|
sv_misc.obj \
|
|
|
|
sv_model.obj \
|
|
|
|
sv_nchan.obj \
|
|
|
|
sv_ents.obj \
|
|
|
|
sv_send.obj \
|
|
|
|
sv_move.obj \
|
|
|
|
sv_phys.obj \
|
|
|
|
sv_user.obj \
|
|
|
|
sv_ccmds.obj \
|
|
|
|
world.obj \
|
2000-05-20 00:04:33 +00:00
|
|
|
net_udp.obj \
|
2000-05-13 11:06:43 +00:00
|
|
|
sv_sys_win.obj \
|
|
|
|
sys_win.obj \
|
|
|
|
sv_cvar.obj
|
|
|
|
|
|
|
|
server.exe: $(COM_sources) $(SV_sources)
|
2000-06-10 03:36:28 +00:00
|
|
|
$(link) /nologo /subsystem:console /incremental:yes /machine:I386 -out:server.exe *.obj $(LIBS) /debug
|
2000-05-13 11:06:43 +00:00
|
|
|
|
|
|
|
.c.obj:
|
|
|
|
$(cc) $(NCFLAGS) $*.c
|