mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 14:52:08 +00:00
*** empty log message ***
This commit is contained in:
parent
6bfed8848a
commit
8042011eb9
2 changed files with 155 additions and 0 deletions
110
source/makefile.winc
Normal file
110
source/makefile.winc
Normal file
|
@ -0,0 +1,110 @@
|
|||
include <win32.mak>
|
||||
#!include <winopt.mak>
|
||||
all:client.exe
|
||||
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 E:\quakesrc\q1src\libs\dinput.lib E:\quakesrc\q1src\libs\dxguid.lib E:\quakesrc\q1src\libs\mgllt.lib
|
||||
NCFLAGS=-c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -DWIN32 -D_WIN32 -D_MT -ML -IE:\quakesrc\q1src\incs -Ox -D_WINDOWS -DNoAsm -Zl -I..\include
|
||||
COM_sources=\
|
||||
net_chan.obj \
|
||||
net_com.obj \
|
||||
pmove.obj \
|
||||
pmovetst.obj \
|
||||
zone.obj \
|
||||
mdfour.obj \
|
||||
mathlib.obj \
|
||||
cvar.obj \
|
||||
crc.obj \
|
||||
common.obj \
|
||||
cmd.obj \
|
||||
model.obj
|
||||
|
||||
CL_SW_sources=\
|
||||
d_edge.obj \
|
||||
d_fill.obj \
|
||||
d_init.obj \
|
||||
d_modech.obj \
|
||||
d_part.obj \
|
||||
d_polyse.obj \
|
||||
d_scan.obj \
|
||||
d_sky.obj \
|
||||
d_sprite.obj \
|
||||
d_surf.obj \
|
||||
d_vars.obj \
|
||||
d_zpoint.obj \
|
||||
draw.obj \
|
||||
r_aclip.obj \
|
||||
r_alias.obj \
|
||||
r_bsp.obj \
|
||||
r_draw.obj \
|
||||
r_edge.obj \
|
||||
r_efrag.obj \
|
||||
r_light.obj \
|
||||
r_main.obj \
|
||||
r_misc.obj \
|
||||
r_part.obj \
|
||||
r_sky.obj \
|
||||
r_sprite.obj \
|
||||
r_surf.obj \
|
||||
r_vars.obj \
|
||||
r_view.obj \
|
||||
screen.obj \
|
||||
|
||||
CL_sources=\
|
||||
cl_cmd.obj \
|
||||
cl_cvar.obj \
|
||||
cl_demo.obj \
|
||||
cl_ents.obj \
|
||||
cl_input.obj \
|
||||
cl_main.obj \
|
||||
cl_misc.obj \
|
||||
cl_model.obj \
|
||||
cl_parse.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 \
|
||||
console.obj
|
||||
|
||||
CL_platform=\
|
||||
vid_win.obj \
|
||||
snd_win.obj \
|
||||
in_win.obj \
|
||||
sys_win.obj \
|
||||
cl_sys_win.obj \
|
||||
cd_win.obj \
|
||||
net_wins.obj
|
||||
|
||||
CL_asm=\
|
||||
# cl_math.asm \
|
||||
# math.asm \
|
||||
# d_copy.asm \
|
||||
# d_draw.asm \
|
||||
# d_draw16.asm \
|
||||
# d_parta.asm \
|
||||
# d_polysa.asm \
|
||||
# d_scana.asm \
|
||||
# d_spr8.asm \
|
||||
# d_varsa.asm \
|
||||
# r_aclipa.asm \
|
||||
# r_aliasa.asm \
|
||||
# r_drawa.asm \
|
||||
# r_edgea.asm \
|
||||
# r_varsa.asm \
|
||||
sys_wina.obj
|
||||
# snd_mixa.asm \
|
||||
# surf16.asm \
|
||||
# surf8.asm
|
||||
|
||||
client.exe: $(COM_sources) $(CL_SW_sources) $(CL_sources) $(CL_platform) $(CL_asm)
|
||||
$(link) /nologo /subsystem:windows /incremental:yes /machine:I386 -out:client.exe *.obj $(LIBS)
|
||||
|
||||
.c.obj:
|
||||
$(cc) $(NCFLAGS) $*.c
|
||||
|
45
source/makefile.wins
Normal file
45
source/makefile.wins
Normal file
|
@ -0,0 +1,45 @@
|
|||
include <win32.mak>
|
||||
#!include <winopt.mak>
|
||||
all:server.exe
|
||||
LIBS=winmm.lib wsock32.lib opengl32.lib glu32.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 libc.lib
|
||||
NCFLAGS=/c /nologo /DWIN32 /D_WIN32 /I..\include /IE:\quakesrc\q1src\incs /MT
|
||||
COM_sources=\
|
||||
net_chan.obj \
|
||||
net_com.obj \
|
||||
pmove.obj \
|
||||
pmovetst.obj \
|
||||
zone.obj \
|
||||
mdfour.obj \
|
||||
mathlib.obj \
|
||||
cvar.obj \
|
||||
crc.obj \
|
||||
common.obj \
|
||||
cmd.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_wins.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)
|
||||
|
||||
.c.obj:
|
||||
$(cc) $(NCFLAGS) $*.c
|
Loading…
Reference in a new issue