barrier/synergy/Makefile

51 lines
922 B
Makefile
Raw Normal View History

2001-10-06 14:13:28 +00:00
DEPTH=..
include $(DEPTH)/Makecommon
#
# source files
#
LCXXINCS = \
-I$(DEPTH)/base \
-I$(DEPTH)/mt \
-I$(DEPTH)/io \
-I$(DEPTH)/net \
$(NULL)
CXXFILES = \
CInputPacketStream.cpp \
COutputPacketStream.cpp \
CTCPSocketFactory.cpp \
CProtocolUtil.cpp \
CClient.cpp \
2001-10-06 14:13:28 +00:00
CServerProtocol.cpp \
CServerProtocol1_0.cpp \
CScreenMap.cpp \
CServer.cpp \
CXWindowsScreen.cpp \
2001-10-06 14:13:28 +00:00
CXWindowsPrimaryScreen.cpp \
CXWindowsSecondaryScreen.cpp \
2001-10-06 14:13:28 +00:00
XSynergy.cpp \
$(NULL)
#
# libraries we depend on
#
DEPLIBS = \
$(LIBDIR)/libnet.a \
$(LIBDIR)/libio.a \
$(LIBDIR)/libmt.a \
$(LIBDIR)/libbase.a \
$(NULL)
LLDLIBS = \
$(DEPLIBS) \
-lpthread \
$(NULL)
targets: server client
2001-10-06 14:13:28 +00:00
server: server.o $(OBJECTS) $(DEPLIBS)
$(CXX) $(CXXFLAGS) -o $@ server.o $(OBJECTS) $(LDFLAGS)
client: client.o $(OBJECTS) $(DEPLIBS)
$(CXX) $(CXXFLAGS) -o $@ client.o $(OBJECTS) $(LDFLAGS)
2001-10-06 14:13:28 +00:00