mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-23 19:12:14 +03:00
70f5f9491d
currently supports editing the screen map but changing the map won't behave correctly if there are connected screens.
72 lines
859 B
Makefile
72 lines
859 B
Makefile
DEPTH=.
|
|
COMMONPREF = root
|
|
include Makecommon
|
|
|
|
#
|
|
# subdirectories
|
|
#
|
|
SUBDIRS = \
|
|
base \
|
|
mt \
|
|
io \
|
|
http \
|
|
net \
|
|
synergy \
|
|
client \
|
|
server \
|
|
$(NULL)
|
|
|
|
#
|
|
# targets
|
|
#
|
|
|
|
default: $(COMMONPREF)_force
|
|
$(SUBDIRS_MAKERULE)
|
|
|
|
all targets: default
|
|
|
|
clean:
|
|
$(RMR) $(LIBDIR)
|
|
$(SUBDIRS_MAKERULE)
|
|
|
|
clobber:
|
|
$(RMR) $(LIBDIR)
|
|
$(SUBDIRS_MAKERULE)
|
|
|
|
#
|
|
#
|
|
# test
|
|
#
|
|
#
|
|
|
|
#
|
|
# source files
|
|
#
|
|
LCXXINCS = \
|
|
-I$(DEPTH)/base \
|
|
-I$(DEPTH)/mt \
|
|
-I$(DEPTH)/io \
|
|
-I$(DEPTH)/net \
|
|
-I$(DEPTH)/synergy \
|
|
$(NULL)
|
|
CXXFILES = test.cpp
|
|
|
|
#
|
|
# 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)
|
|
|
|
test: $(OBJECTS) $(DEPLIBS)
|
|
$(CXX) $(CXXFLAGS) -o $@ $(OBJECTS) $(LDFLAGS)
|
|
|