mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-23 00:56:21 +03:00
executables are now built into a common area on unix (and they
already were on win32).
This commit is contained in:
parent
f15c9df85b
commit
f395bc6e12
@ -25,6 +25,11 @@ CXXOPTIMIZER = -g
|
||||
GLDLIBS = -L/usr/X11R6/lib -lX11 -lXext -lXtst
|
||||
GLDOPTS = -L$(LIBDIR)
|
||||
|
||||
#
|
||||
# binary stuff
|
||||
#
|
||||
BINTARGET = $(BINDIR)/$(TARGET)
|
||||
|
||||
#
|
||||
# library stuff
|
||||
#
|
||||
|
@ -26,6 +26,11 @@ CXXOPTIMIZER = -g
|
||||
GLDLIBS = -L$(LIBDIR) -lsocket -lnsl -lposix4
|
||||
GLDOPTS = -z muldefs
|
||||
|
||||
#
|
||||
# binary stuff
|
||||
#
|
||||
BINTARGET = $(BINDIR)/$(TARGET)
|
||||
|
||||
#
|
||||
# library stuff
|
||||
#
|
||||
|
@ -13,7 +13,7 @@ NULL =
|
||||
# target directories
|
||||
#
|
||||
LIBDIR = $(DEPTH)/lib
|
||||
TARGETDIR = $(DEPTH)/bin
|
||||
BINDIR = $(DEPTH)/bin
|
||||
|
||||
#
|
||||
# compiler options
|
||||
|
@ -4,7 +4,7 @@ include $(DEPTH)/Makecommon
|
||||
#
|
||||
# target file
|
||||
#
|
||||
TARGETS = client
|
||||
TARGET = client
|
||||
|
||||
#
|
||||
# source files
|
||||
@ -37,8 +37,9 @@ LLDLIBS = \
|
||||
-lpthread \
|
||||
$(NULL)
|
||||
|
||||
targets: $(TARGETS)
|
||||
targets: $(BINTARGET)
|
||||
|
||||
$(TARGETS): $(OBJECTS) $(DEPLIBS)
|
||||
$(BINTARGET): $(OBJECTS) $(DEPLIBS)
|
||||
if test ! -d $(BINDIR); then $(MKDIR) $(BINDIR); fi
|
||||
$(CXX) $(CXXFLAGS) -o $@ $(OBJECTS) $(LDFLAGS)
|
||||
|
||||
|
@ -4,7 +4,7 @@ include $(DEPTH)/Makecommon
|
||||
#
|
||||
# target file
|
||||
#
|
||||
TARGETS = server
|
||||
TARGET = server
|
||||
|
||||
#
|
||||
# source files
|
||||
@ -40,8 +40,9 @@ LLDLIBS = \
|
||||
-lpthread \
|
||||
$(NULL)
|
||||
|
||||
targets: $(TARGETS)
|
||||
targets: $(BINTARGET)
|
||||
|
||||
$(TARGETS): $(OBJECTS) $(DEPLIBS)
|
||||
$(BINTARGET): $(OBJECTS) $(DEPLIBS)
|
||||
if test ! -d $(BINDIR); then $(MKDIR) $(BINDIR); fi
|
||||
$(CXX) $(CXXFLAGS) -o $@ $(OBJECTS) $(LDFLAGS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user