mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-25 13:32:01 +00:00
102 lines
2.2 KiB
Text
102 lines
2.2 KiB
Text
!include <win32.mak> # Microsoft VC6++
|
|
#!include <winopt.mak> # Use to compile with Intel's compiler
|
|
|
|
all:glclient.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 glu32.lib opengl32.lib
|
|
NCFLAGS=/c /nologo /DWIN32 /D_WIN32 /I..\include /I..\include\win32\vc /I$(INCPATH) /MT /DHAVE_CONFIG_H -Ox /I..\include\win32
|
|
|
|
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 \
|
|
|
|
CL_GL_sources=\
|
|
hl_bsp.obj \
|
|
hl_wad.obj \
|
|
r_view.obj \
|
|
gl_draw.obj \
|
|
gl_mesh.obj \
|
|
gl_model.obj \
|
|
gl_ngraph.obj \
|
|
gl_part.obj \
|
|
gl_refrag.obj \
|
|
gl_rlight.obj \
|
|
gl_rmain.obj \
|
|
gl_rmisc.obj \
|
|
gl_mesh.obj \
|
|
gl_rsurf.obj \
|
|
gl_screen.obj \
|
|
gl_view.obj \
|
|
gl_warp.obj \
|
|
vid_wgl.obj
|
|
|
|
CL_sources=\
|
|
cl_trans.obj \
|
|
cl_parse.obj \
|
|
cl_slist.obj \
|
|
cl_cmd.obj \
|
|
cl_cvar.obj \
|
|
cl_demo.obj \
|
|
cl_ents.obj \
|
|
cl_input.obj \
|
|
cl_main.obj \
|
|
cl_misc.obj \
|
|
cl_pred.obj \
|
|
cl_tent.obj \
|
|
cl_cam.obj \
|
|
wad.obj \
|
|
snd_dma.obj \
|
|
snd_mem.obj \
|
|
snd_mix.obj \
|
|
skin.obj \
|
|
sbar.obj \
|
|
nonintel.obj \
|
|
menu.obj \
|
|
keys.obj \
|
|
# vc6fix.obj \
|
|
console.obj
|
|
|
|
CL_platform=\
|
|
snd_win.obj \
|
|
in_win.obj \
|
|
sys_win.obj \
|
|
cl_sys_win.obj \
|
|
cd_win.obj \
|
|
net_udp.obj
|
|
|
|
CL_asm=\
|
|
sys_x86.obj
|
|
|
|
glclient.exe: $(COM_sources) $(CL_GL_sources) $(CL_sources) $(CL_platform) $(CL_asm)
|
|
$(link) /nologo /subsystem:windows /incremental:yes /machine:I386 -out:glclient.exe *.obj $(LIBS)
|
|
|
|
.c.obj:
|
|
$(cc) $(NCFLAGS) $*.c
|
|
|