-CLIENT_TARGET=client
-SERVER_TARGET=server
-CLIENT_OBJECTS=client.obj
-SERVER_OBJECTS=server.obj
-
-all: $(CLIENT_TARGET).exe $(SERVER_TARGET).exe
-
-$(CLIENT_TARGET).exe: $(CLIENT_OBJECTS) $(CLIENT_TARGET).res
- tlink32 $(LINKFLAGS) @&&!
- c0w32.obj $(CLIENT_OBJECTS)
- $(CLIENT_TARGET)
- nul
- $(LIBS)
- $(CLIENT_TARGET).def
- $(CLIENT_TARGET).res
-!
-
-client.obj: client.cpp
-
-$(CLIENT_TARGET).res : $(CLIENT_TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
- brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(CLIENT_TARGET)
-
-$(SERVER_TARGET).exe: $(SERVER_OBJECTS) $(SERVER_TARGET).res
- tlink32 $(LINKFLAGS) @&&!
- c0w32.obj $(SERVER_OBJECTS)
- $(SERVER_TARGET)
- nul
- $(LIBS)
- $(SERVER_TARGET).def
- $(SERVER_TARGET).res
-!
-
-server.obj: server.cpp
-
-$(SERVER_TARGET).res: $(SERVER_TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
- brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(SERVER_TARGET)
+all:
+ make -f server.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) all
+ make -f client.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) all