mirror of https://github.com/debauchee/barrier.git
48 lines
716 B
Makefile
48 lines
716 B
Makefile
DEPTH=..
|
|
include $(DEPTH)/Makecommon
|
|
|
|
#
|
|
# target file
|
|
#
|
|
TARGETS = server
|
|
|
|
#
|
|
# source files
|
|
#
|
|
LCXXINCS = \
|
|
-I$(DEPTH)/base \
|
|
-I$(DEPTH)/mt \
|
|
-I$(DEPTH)/io \
|
|
-I$(DEPTH)/net \
|
|
-I$(DEPTH)/synergy \
|
|
$(NULL)
|
|
CXXFILES = \
|
|
CScreenMap.cpp \
|
|
CServerProtocol.cpp \
|
|
CServerProtocol1_0.cpp \
|
|
CXWindowsPrimaryScreen.cpp \
|
|
CServer.cpp \
|
|
server.cpp \
|
|
$(NULL)
|
|
|
|
#
|
|
# libraries we depend on
|
|
#
|
|
DEPLIBS = \
|
|
$(LIBDIR)/libsynergy.a \
|
|
$(LIBDIR)/libnet.a \
|
|
$(LIBDIR)/libio.a \
|
|
$(LIBDIR)/libmt.a \
|
|
$(LIBDIR)/libbase.a \
|
|
$(NULL)
|
|
LLDLIBS = \
|
|
$(DEPLIBS) \
|
|
-lpthread \
|
|
$(NULL)
|
|
|
|
targets: $(TARGETS)
|
|
|
|
$(TARGETS): $(OBJECTS) $(DEPLIBS)
|
|
$(CXX) $(CXXFLAGS) -o $@ $(OBJECTS) $(LDFLAGS)
|
|
|