2001-11-19 02:14:28 +03:00
|
|
|
DEPTH=..
|
|
|
|
include $(DEPTH)/Makecommon
|
|
|
|
|
|
|
|
#
|
|
|
|
# target file
|
|
|
|
#
|
2002-06-04 16:26:23 +04:00
|
|
|
TARGET = synergy
|
2001-11-19 02:14:28 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
# source files
|
|
|
|
#
|
|
|
|
LCXXINCS = \
|
|
|
|
-I$(DEPTH)/base \
|
|
|
|
-I$(DEPTH)/mt \
|
|
|
|
-I$(DEPTH)/io \
|
|
|
|
-I$(DEPTH)/net \
|
|
|
|
-I$(DEPTH)/synergy \
|
2002-06-04 16:26:23 +04:00
|
|
|
-I$(DEPTH)/platform \
|
2001-11-19 02:14:28 +03:00
|
|
|
$(NULL)
|
|
|
|
CXXFILES = \
|
|
|
|
CXWindowsSecondaryScreen.cpp \
|
|
|
|
CClient.cpp \
|
|
|
|
client.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
#
|
|
|
|
# libraries we depend on
|
|
|
|
#
|
|
|
|
DEPLIBS = \
|
2002-06-04 16:26:23 +04:00
|
|
|
$(LIBDIR)/libplatform.a \
|
2001-11-19 02:14:28 +03:00
|
|
|
$(LIBDIR)/libsynergy.a \
|
|
|
|
$(LIBDIR)/libnet.a \
|
|
|
|
$(LIBDIR)/libio.a \
|
|
|
|
$(LIBDIR)/libmt.a \
|
|
|
|
$(LIBDIR)/libbase.a \
|
|
|
|
$(NULL)
|
|
|
|
LLDLIBS = \
|
|
|
|
$(DEPLIBS) \
|
|
|
|
-lpthread \
|
|
|
|
$(NULL)
|
|
|
|
|
2001-11-25 21:42:13 +03:00
|
|
|
targets: $(BINTARGET)
|
2001-11-19 02:14:28 +03:00
|
|
|
|
2001-11-25 21:42:13 +03:00
|
|
|
$(BINTARGET): $(OBJECTS) $(DEPLIBS)
|
|
|
|
if test ! -d $(BINDIR); then $(MKDIR) $(BINDIR); fi
|
2001-11-19 02:14:28 +03:00
|
|
|
$(CXX) $(CXXFLAGS) -o $@ $(OBJECTS) $(LDFLAGS)
|
|
|
|
|