winpty/TestNetServer/Makefile
Ryan Prichard 410749a1b9 Update the TestNetServer.
- Replace the qmake pro file with a Makefile.

 - Move the AgentClient from Shared to TestNetServer.  This file is
   obsoleted by libpconsole.
2012-01-23 22:04:34 -08:00

24 lines
557 B
Makefile

include ../config.mk
include ../config-mingw.mk
include ../config-qt.mk
PROGRAM = testnet-server
HEADERS = Server.h Session.h AgentClient.h
OBJECTS = Server.o Session.o AgentClient.o TestNetServerDebugClient.o main.o
OBJECTS += $(patsubst %.h,moc_%.o,$(HEADERS))
CXXFLAGS += -I$(QT_INCLUDE)/QtNetwork -D_WIN32_WINNT=0x0501
LDFLAGS += -lQtNetwork4 -static-libgcc -static-libstdc++
all : $(PROGRAM)
$(PROGRAM) : $(OBJECTS)
@echo Linking $@
@$(CXX) -o $@ $^ $(LDFLAGS)
.PHONY : clean
clean:
rm -f $(PROGRAM) *.o *.d moc_*.cc
-include $(OBJECTS:.o=.d)