62 lines
3.5 KiB
Plaintext
62 lines
3.5 KiB
Plaintext
|
# =========================================================================
|
||
|
# This makefile was generated by
|
||
|
# Bakefile 0.2.8 (http://www.bakefile.org)
|
||
|
# Do not modify, all changes will be overwritten!
|
||
|
# =========================================================================
|
||
|
|
||
|
include ../../build/msw/config.dmc
|
||
|
|
||
|
# -------------------------------------------------------------------------
|
||
|
# Do not modify the rest of this file!
|
||
|
# -------------------------------------------------------------------------
|
||
|
|
||
|
### Variables: ###
|
||
|
|
||
|
WX_RELEASE_NODOT = 28
|
||
|
OBJS = dmc_mswd$(CFG)
|
||
|
LIBTYPE_SUFFIX = lib
|
||
|
LIBDIRNAME = .\..\..\lib\dmc_$(LIBTYPE_SUFFIX)$(CFG)
|
||
|
SETUPHDIR = $(LIBDIRNAME)\mswd
|
||
|
CLIENT_CXXFLAGS = -g -o+none -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D__WXDEBUG__ \
|
||
|
-I$(SETUPHDIR) -I.\..\..\include -w- -I. -WA -I.\..\..\samples -DNOPCH -Ar -Ae \
|
||
|
$(CPPFLAGS) $(CXXFLAGS)
|
||
|
CLIENT_OBJECTS = \
|
||
|
$(OBJS)\client_client.obj
|
||
|
SERVER_CXXFLAGS = -g -o+none -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D__WXDEBUG__ \
|
||
|
-I$(SETUPHDIR) -I.\..\..\include -w- -I. -WA -I.\..\..\samples -DNOPCH -Ar -Ae \
|
||
|
$(CPPFLAGS) $(CXXFLAGS)
|
||
|
SERVER_OBJECTS = \
|
||
|
$(OBJS)\server_server.obj
|
||
|
|
||
|
### Targets: ###
|
||
|
|
||
|
all : $(OBJS)\client.exe $(OBJS)\server.exe
|
||
|
|
||
|
clean :
|
||
|
-if exist $(OBJS)\*.obj del $(OBJS)\*.obj
|
||
|
-if exist $(OBJS)\*.res del $(OBJS)\*.res
|
||
|
-if exist $(OBJS)\*.sym del $(OBJS)\*.sym
|
||
|
-if exist $(OBJS)\client.exe del $(OBJS)\client.exe
|
||
|
-if exist $(OBJS)\client.map del $(OBJS)\client.map
|
||
|
-if exist $(OBJS)\server.exe del $(OBJS)\server.exe
|
||
|
-if exist $(OBJS)\server.map del $(OBJS)\server.map
|
||
|
|
||
|
$(OBJS)\client.exe : $(CLIENT_OBJECTS) $(OBJS)\client_client.res
|
||
|
link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT /DEBUG /CODEVIEW /su:windows:4.0 $(LDFLAGS) $(CLIENT_OBJECTS),$@,$(OBJS)\client.map, $(LIBDIRNAME)\ wxmsw$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_core.lib wxbase$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_net.lib wxbase$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR).lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib \ kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib,, $(OBJS)\client_client.res
|
||
|
|
||
|
$(OBJS)\server.exe : $(SERVER_OBJECTS) $(OBJS)\server_server.res
|
||
|
link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT /DEBUG /CODEVIEW /su:windows:4.0 $(LDFLAGS) $(SERVER_OBJECTS),$@,$(OBJS)\server.map, $(LIBDIRNAME)\ wxmsw$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_core.lib wxbase$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_net.lib wxbase$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR).lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib \ kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib,, $(OBJS)\server_server.res
|
||
|
|
||
|
$(OBJS)\client_client.obj : .\client.cpp
|
||
|
$(CXX) -mn -c -cpp -o$@ $(CLIENT_CXXFLAGS) .\client.cpp
|
||
|
|
||
|
$(OBJS)\client_client.res : .\client.rc
|
||
|
rcc .\client.rc -o$@ -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D__WXDEBUG__ -I$(SETUPHDIR) -I.\..\..\include -I. -I.\..\..\samples -DNOPCH -32 -v-
|
||
|
|
||
|
$(OBJS)\server_server.obj : .\server.cpp
|
||
|
$(CXX) -mn -c -cpp -o$@ $(SERVER_CXXFLAGS) .\server.cpp
|
||
|
|
||
|
$(OBJS)\server_server.res : .\server.rc
|
||
|
rcc .\server.rc -o$@ -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D__WXDEBUG__ -I$(SETUPHDIR) -I.\..\..\include -I. -I.\..\..\samples -DNOPCH -32 -v-
|
||
|
|