mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-27 22:32:02 +08:00
refactored some common platform dependent stuff into a new
library: platform. also removed test.cpp.
This commit is contained in:
38
Makefile
38
Makefile
@@ -12,6 +12,7 @@ SUBDIRS = \
|
||||
http \
|
||||
net \
|
||||
synergy \
|
||||
platform \
|
||||
client \
|
||||
server \
|
||||
$(NULL)
|
||||
@@ -32,40 +33,3 @@ clean:
|
||||
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user