.SUFFIXES: .o .cpp .c .cxx
.cpp.o :
- $(CC) -c $(CXXFLAGS) -o $@ $<
+ $(CXX) -c $(CXXFLAGS) -o $@ $<
# Set defaults from configure
include ../../src/make.env
all: client server
client: client.o ../../lib/@WX_TARGET_LIBRARY@
- $(CC) $(LDFLAGS) -o client client.o $(LDLIBS)
+ $(CXX) $(LDFLAGS) -o client client.o $(LDLIBS)
server: server.o ../../lib/@WX_TARGET_LIBRARY@
- $(CC) $(LDFLAGS) -o server server.o $(LDLIBS)
+ $(CXX) $(LDFLAGS) -o server server.o $(LDLIBS)
clean:
rm -f $(OBJECTS) $(PROGRAM) core