executables are now built into a common area on unix (and they

already were on win32).
This commit is contained in:
crs 2001-11-25 18:42:13 +00:00
parent f15c9df85b
commit f395bc6e12
5 changed files with 19 additions and 7 deletions

View File

@ -25,6 +25,11 @@ CXXOPTIMIZER = -g
GLDLIBS = -L/usr/X11R6/lib -lX11 -lXext -lXtst
GLDOPTS = -L$(LIBDIR)
#
# binary stuff
#
BINTARGET = $(BINDIR)/$(TARGET)
#
# library stuff
#

View File

@ -26,6 +26,11 @@ CXXOPTIMIZER = -g
GLDLIBS = -L$(LIBDIR) -lsocket -lnsl -lposix4
GLDOPTS = -z muldefs
#
# binary stuff
#
BINTARGET = $(BINDIR)/$(TARGET)
#
# library stuff
#

View File

@ -13,7 +13,7 @@ NULL =
# target directories
#
LIBDIR = $(DEPTH)/lib
TARGETDIR = $(DEPTH)/bin
BINDIR = $(DEPTH)/bin
#
# compiler options

View File

@ -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)

View File

@ -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)