1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
9 # -------------------------------------------------------------------------
10 # These are configurable options:
11 # -------------------------------------------------------------------------
16 # Standard flags for C++
19 # Standard preprocessor flags (common for CC and CXX)
22 # Standard linker flags
25 # Location and arguments of wx-config script
28 # C++ flags to use with wxWidgets code
29 WX_CXXFLAGS = `$(WX_CONFIG) --cxxflags`
33 # -------------------------------------------------------------------------
34 # Do not modify the rest of this file!
35 # -------------------------------------------------------------------------
39 CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD
40 CLIENT_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
43 SERVER_CXXFLAGS = -I. $(WX_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
47 ### Conditionally set variables: ###
65 client: $(CLIENT_OBJECTS)
66 $(CXX) -o $@ $(CLIENT_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs core,net,base`
68 server: $(SERVER_OBJECTS)
69 $(CXX) -o $@ $(SERVER_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) --libs core,net,base`
71 client_client.o: ./client.cpp
72 $(CXX) -c -o $@ $(CLIENT_CXXFLAGS) $(CPPDEPS) $<
74 server_server.o: ./server.cpp
75 $(CXX) -c -o $@ $(SERVER_CXXFLAGS) $(CPPDEPS) $<
77 .PHONY: all install uninstall clean
80 # Dependencies tracking: