mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-25 21:41:57 +00:00
65 lines
1.6 KiB
Text
65 lines
1.6 KiB
Text
include <win32.mak>
|
|
#!include <winopt.mak>
|
|
|
|
all:server.exe
|
|
|
|
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
|
|
COM_sources=\
|
|
net_chan.obj \
|
|
net_com.obj \
|
|
pmove.obj \
|
|
pmovetst.obj \
|
|
zone.obj \
|
|
mdfour.obj \
|
|
mathlib.obj \
|
|
cvar.obj \
|
|
crc.obj \
|
|
com.obj \
|
|
qargs.obj \
|
|
quakefs.obj \
|
|
quakeio.obj \
|
|
qendian.obj \
|
|
cmd.obj \
|
|
link.obj \
|
|
checksum.obj \
|
|
info.obj \
|
|
net_com.obj \
|
|
msg.obj \
|
|
sizebuf.obj \
|
|
va.obj \
|
|
fnmatch.obj \
|
|
dirent.obj \
|
|
buildnum.obj \
|
|
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 \
|
|
net_udp.obj \
|
|
sv_sys_win.obj \
|
|
sys_win.obj \
|
|
sv_cvar.obj
|
|
|
|
server.exe: $(COM_sources) $(SV_sources)
|
|
$(link) /nologo /subsystem:console /incremental:yes /machine:I386 -out:server.exe *.obj $(LIBS) /debug
|
|
|
|
.c.obj:
|
|
$(cc) $(NCFLAGS) $*.c
|