Changed: #860 Remove/convert/update old projects
parent
8138abd67e
commit
0ad6f116b1
@ -1,60 +0,0 @@
|
||||
ifeq (Dependencies.mk,$(wildcard Dependencies.mk))
|
||||
include Dependencies.mk
|
||||
endif
|
||||
|
||||
BUILD_DIRS = \
|
||||
misc\
|
||||
net\
|
||||
pacs\
|
||||
memory\
|
||||
georges\
|
||||
ligo\
|
||||
logic\
|
||||
|
||||
SRC_DIRS=$(foreach dir,$(BUILD_DIRS),src/$(dir))
|
||||
INCLUDE_DIRS=$(foreach dir,$(BUILD_DIRS),include/nel/$(dir))
|
||||
|
||||
BIN_DIR=$HOME/static/script/linux
|
||||
|
||||
TARGET=src_nel.tgz
|
||||
|
||||
CXX=distcc
|
||||
CC=distcc
|
||||
MAKE_ARGS=-j20
|
||||
|
||||
night: all
|
||||
mono: all
|
||||
all: $(TARGET)
|
||||
|
||||
update:
|
||||
if [ -e FileList ]; then rm FileList; fi
|
||||
for f in $(INCLUDE_DIRS); \
|
||||
do \
|
||||
find $$f -name "*.h" >> FileList; \
|
||||
find $$f -name "Makefile" >> FileList; \
|
||||
done
|
||||
for f in $(SRC_DIRS); \
|
||||
do \
|
||||
find $$f -name "*.cpp" >>FileList; \
|
||||
find $$f -name "*.h" >>FileList; \
|
||||
find $$f -name "*.dsp" >>FileList; \
|
||||
find $$f -name "*.def" >>FileList; \
|
||||
find $$f -name "Makefile" >>FileList; \
|
||||
find $$f -name "*.h" >>FileList; \
|
||||
done
|
||||
if [ -e Dependencies.mk ] ; then rm Dependencies.mk; fi
|
||||
echo -n src_nel.tgz:>> Dependencies.mk
|
||||
awk '{printf "\\\n" $$0 }' FileList >> Dependencies.mk
|
||||
echo >> Dependencies.mk
|
||||
for f in $(SRC_DIRS); do echo -e \\t+make -C $$f 'CXX=$$(CXX) CC=$$(CC) $$(MAKE_ARGS)'>> Dependencies.mk ; done
|
||||
echo -e \\t'if [ -e '$(TARGET)' ] ; then rm '$(TARGET)'; fi'>> Dependencies.mk
|
||||
echo -e \\ttar cvzf $(TARGET) -T FileList>> Dependencies.mk
|
||||
for f in $(SRC_DIRS); do make -C $$f update ; done
|
||||
|
||||
clean:
|
||||
for f in $(SRC_DIRS); do make -C $$f clean ; done
|
||||
|
||||
touch:
|
||||
for f in $(SRC_DIRS); do make -C $$f touch ; done
|
||||
|
||||
.NOTPARALLEL:
|
@ -1,66 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE \
|
||||
-I$(HOME)/cvs/code/nel/include \
|
||||
-I$(HOME)/cvs/code/nel/src \
|
||||
-I$(HOME)/installs/STLport-4.0/stlport \
|
||||
-I/usr/local/include \
|
||||
-I/usr/local/include/freetype2
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/build/debug/nel/lib \
|
||||
-L/home/installs/STLport-4.0/lib \
|
||||
-L/usr/local/lib \
|
||||
-lnelmisc \
|
||||
-lnelnet \
|
||||
-lnel3d \
|
||||
-lstlport_gcc \
|
||||
-lpthread \
|
||||
-lfreetype
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = main
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
main: main.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,66 +0,0 @@
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE \
|
||||
-I$(HOME)/cvs/code/nel/include \
|
||||
-I$(HOME)/installs/STLport-4.0/stlport \
|
||||
-I/usr/local/include \
|
||||
-I/usr/local/include/freetype2
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/build/debug/nel/lib \
|
||||
-L/home/installs/STLport-4.0/lib \
|
||||
-L/usr/local/lib \
|
||||
-lnelmisc \
|
||||
-lnelnet \
|
||||
-lstlport_gcc \
|
||||
-lpthread \
|
||||
-lfreetype
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = main
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
main: main.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,64 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE \
|
||||
-I$(HOME)/cvs/code/nel/include \
|
||||
-I$(HOME)/installs/STLport-4.0/stlport \
|
||||
-I/usr/local/include \
|
||||
-I/usr/local/include/freetype2
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/build/debug/nel/lib \
|
||||
-L/home/installs/STLport-4.0/lib \
|
||||
-L/usr/local/lib \
|
||||
-lnelmisc \
|
||||
-lnelnet \
|
||||
-lstlport_gcc \
|
||||
-lpthread \
|
||||
-lfreetype
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = main
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
main: main.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,63 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE \
|
||||
-I$(HOME)/cvs/code/nel/include \
|
||||
-I/usr/include/stlport \
|
||||
-I/usr/include/freetype2
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/install/release/lib \
|
||||
-L/home/installs/STLport-4.0/lib \
|
||||
-L/usr/local/lib \
|
||||
-lnelmisc \
|
||||
-lnelnet \
|
||||
-lstlport_gcc \
|
||||
-lpthread \
|
||||
-lfreetype
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = main
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
main: main.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,64 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE \
|
||||
-I$(HOME)/cvs/code/nel/include \
|
||||
-I$(HOME)/installs/STLport-4.0/stlport \
|
||||
-I/usr/local/include \
|
||||
-I/usr/local/include/freetype2
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/build/debug/nel/lib \
|
||||
-L/home/installs/STLport-4.0/lib \
|
||||
-L/usr/local/lib \
|
||||
-lnelmisc \
|
||||
-lnelnet \
|
||||
-lstlport_gcc \
|
||||
-lpthread \
|
||||
-lfreetype
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = main
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
main: main.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,64 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE \
|
||||
-I$(HOME)/cvs/code/nel/include \
|
||||
-I$(HOME)/installs/STLport-4.0/stlport \
|
||||
-I/usr/local/include \
|
||||
-I/usr/local/include/freetype2
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/build/debug/nel/lib \
|
||||
-L/home/installs/STLport-4.0/lib \
|
||||
-L/usr/local/lib \
|
||||
-lnelmisc \
|
||||
-lnelnet \
|
||||
-lstlport_gcc \
|
||||
-lpthread \
|
||||
-lfreetype
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = main
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
main: main.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,64 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE \
|
||||
-I$(HOME)/cvs/code/nel/include \
|
||||
-I$(HOME)/installs/STLport-4.0/stlport \
|
||||
-I/usr/local/include \
|
||||
-I/usr/local/include/freetype2
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/build/debug/nel/lib \
|
||||
-L/home/installs/STLport-4.0/lib \
|
||||
-L/usr/local/lib \
|
||||
-lnelmisc \
|
||||
-lnelnet \
|
||||
-lstlport_gcc \
|
||||
-lpthread \
|
||||
-lfreetype
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = main
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
main: main.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,70 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE \
|
||||
-I$(HOME)/cvs/code/nel/include \
|
||||
-I$(HOME)/installs/STLport-4.0/stlport \
|
||||
-I/usr/local/include \
|
||||
-I/usr/local/include/freetype2
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/build/debug/nel/lib \
|
||||
-L/home/installs/STLport-4.0/lib \
|
||||
-L/usr/local/lib \
|
||||
-lnelmisc \
|
||||
-lnelnet \
|
||||
-lstlport_gcc \
|
||||
-lpthread \
|
||||
-lfreetype
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = frontend_service client ping_service
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
frontend_service: frontend_service.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
ping_service: ping_service.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
client: client.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,67 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = g++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE \
|
||||
-I/home/installs/STLport-4.0/stlport \
|
||||
-I$(HOME)/install/release/include \
|
||||
-I/usr/local/include \
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = \
|
||||
-L/home/installs/STLport-4.0/lib \
|
||||
-L$(HOME)/install/release/lib \
|
||||
-L/usr/local/lib \
|
||||
-L/usr/lib \
|
||||
-lnelmisc \
|
||||
-lnelnet \
|
||||
-lstlport_gcc \
|
||||
-lpthread \
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = frontend_service client
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
frontend_service: frontend_service.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
client: client.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,70 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE \
|
||||
-I$(HOME)/cvs/code/nel/include \
|
||||
-I$(HOME)/installs/STLport-4.0/stlport \
|
||||
-I/usr/local/include \
|
||||
-I/usr/local/include/freetype2
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/build/debug/nel/lib \
|
||||
-L/home/installs/STLport-4.0/lib \
|
||||
-L/usr/local/lib \
|
||||
-lnelmisc \
|
||||
-lnelnet \
|
||||
-lstlport_gcc \
|
||||
-lpthread \
|
||||
-lfreetype
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = frontend_service client ping_service
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
frontend_service: frontend_service.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
ping_service: ping_service.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
client: client.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,70 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE \
|
||||
-I$(HOME)/cvs/code/nel/include \
|
||||
-I$(HOME)/installs/STLport-4.0/stlport \
|
||||
-I/usr/local/include \
|
||||
-I/usr/local/include/freetype2
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/build/debug/nel/lib \
|
||||
-L/home/installs/STLport-4.0/lib \
|
||||
-L/usr/local/lib \
|
||||
-lnelmisc \
|
||||
-lnelnet \
|
||||
-lstlport_gcc \
|
||||
-lpthread \
|
||||
-lfreetype
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = frontend_service client ping_service
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
frontend_service: frontend_service.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
ping_service: ping_service.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
client: client.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,70 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE \
|
||||
-I$(HOME)/cvs/code/nel/include \
|
||||
-I$(HOME)/installs/STLport-4.0/stlport \
|
||||
-I/usr/local/include \
|
||||
-I/usr/local/include/freetype2
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/build/debug/nel/lib \
|
||||
-L/home/installs/STLport-4.0/lib \
|
||||
-L/usr/local/lib \
|
||||
-lnelmisc \
|
||||
-lnelnet \
|
||||
-lstlport_gcc \
|
||||
-lpthread \
|
||||
-lfreetype
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = frontend_service client ping_service
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
frontend_service: frontend_service.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
ping_service: ping_service.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
client: client.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,71 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE \
|
||||
-I$(HOME)/install/release/include \
|
||||
-I/home/installs/STLport-4.5.1/stlport \
|
||||
-I/usr/local/include
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/install/release/lib \
|
||||
-L/home/installs/STLport-4.5.1/lib \
|
||||
-L/usr/local/lib \
|
||||
-lnelmisc \
|
||||
-lnelnet \
|
||||
-lstlport_gcc \
|
||||
-lpthread
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = frontend_service gpm_service
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
frontend_service: frontend_service.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
ping_service: ping_service.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
gpm_service: gpm_service.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
client: client.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,62 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE -DNL_RELEASE_DEBUG \
|
||||
-I$(HOME)/install/release/include \
|
||||
-I/usr/include/stlport \
|
||||
-I/usr/include
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/install/release/lib \
|
||||
-L/usr/lib \
|
||||
-L/usr/local/lib \
|
||||
-lnelnet \
|
||||
-lnelmisc \
|
||||
-lstlport \
|
||||
-lpthread
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = chat_service
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
chat_service: chat_service.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,69 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE \
|
||||
-I$(HOME)/install/debug/include \
|
||||
-I/home/installs/STLport-4.5.1/stlport \
|
||||
-I/usr/local/include \
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/build/debug/nel/lib \
|
||||
-L/home/installs/STLport-4.5.1/lib \
|
||||
-L/usr/local/lib \
|
||||
-lnelmisc \
|
||||
-lnelnet \
|
||||
-lstlport_gcc \
|
||||
-lpthread
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = bench_service client
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
OBJS_SERVICE = bench_service.o receive_task.o simlag.o
|
||||
|
||||
bench_service: $(OBJS_SERVICE)
|
||||
$(CXX) -o $@ $(OBJS_SERVICE) $(LDFLAGS)
|
||||
|
||||
OBJS_CLIENT = client.o simlag.o
|
||||
|
||||
client: $(OBJS_CLIENT)
|
||||
$(CXX) -o $@ $(OBJS_CLIENT) $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,8 +0,0 @@
|
||||
all:
|
||||
+make -C .. all
|
||||
|
||||
clean:
|
||||
+make -C .. clean
|
||||
|
||||
update:
|
||||
+make -C .. update
|
@ -1,39 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling admin modules
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# Global variables
|
||||
include ../Variables.mk
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = $(FLAGS_CMN) $(FLAGS_DBG_$(DBG)) \
|
||||
-I /usr/include/stlport \
|
||||
-I /usr/include/libxml2 \
|
||||
-I ../../include \
|
||||
-I.. \
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS =
|
||||
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGET = ../../libnelgeorges.a
|
||||
DSP_TARGET = georges.dsp
|
||||
|
||||
# The default build rule
|
||||
all: check-deps $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
ar r $@ $(OBJS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Rules
|
||||
|
||||
include ../Rules.mk
|
||||
|
@ -1,39 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling admin modules
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# Global variables
|
||||
include ../Variables.mk
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = $(FLAGS_CMN) $(FLAGS_DBG_$(DBG)) \
|
||||
-I /usr/include/stlport \
|
||||
-I /usr/include/libxml2 \
|
||||
-I ../../include \
|
||||
-I.. \
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS =
|
||||
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGET = ../../libnelligo.a
|
||||
DSP_TARGET = ligo.dsp
|
||||
|
||||
# The default build rule
|
||||
all: check-deps $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
ar r $@ $(OBJS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Rules
|
||||
|
||||
include ../Rules.mk
|
||||
|
@ -1,39 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling admin modules
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# Global variables
|
||||
include ../Variables.mk
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = $(FLAGS_CMN) $(FLAGS_DBG_$(DBG)) \
|
||||
-I /usr/include/stlport \
|
||||
-I /usr/include/libxml2 \
|
||||
-I ../../include \
|
||||
-I.. \
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS =
|
||||
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGET = ../../libnellogic.a
|
||||
DSP_TARGET = logic.dsp
|
||||
|
||||
# The default build rule
|
||||
all: check-deps $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
ar r $@ $(OBJS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Rules
|
||||
|
||||
include ../Rules.mk
|
||||
|
@ -1,39 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling admin modules
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# Global variables
|
||||
include ../Variables.mk
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = $(FLAGS_CMN) $(FLAGS_DBG_$(DBG)) \
|
||||
-I /usr/include/stlport \
|
||||
-I /usr/include/libxml2 \
|
||||
-I ../../include \
|
||||
-I.. \
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS =
|
||||
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGET = ../../libnelmisc.a
|
||||
DSP_TARGET = misc.dsp
|
||||
|
||||
# The default build rule
|
||||
all: check-deps $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
ar r $@ $(OBJS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Rules
|
||||
|
||||
include ../Rules.mk
|
||||
|
@ -1,39 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling admin modules
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# Global variables
|
||||
include ../Variables.mk
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = $(FLAGS_CMN) $(FLAGS_DBG_$(DBG)) \
|
||||
-I /usr/include/stlport \
|
||||
-I /usr/include/libxml2 \
|
||||
-I ../../include \
|
||||
-I.. \
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS =
|
||||
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGET = ../../libnelnet.a
|
||||
DSP_TARGET = net.dsp
|
||||
|
||||
# The default build rule
|
||||
all: check-deps $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
ar r $@ $(OBJS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Rules
|
||||
|
||||
include ../Rules.mk
|
||||
|
@ -1,39 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling admin modules
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# Global variables
|
||||
include ../Variables.mk
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = $(FLAGS_CMN) $(FLAGS_DBG_$(DBG)) \
|
||||
-I /usr/include/stlport \
|
||||
-I /usr/include/libxml2 \
|
||||
-I ../../include \
|
||||
-I.. \
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS =
|
||||
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGET = ../../libnelpacs.a
|
||||
DSP_TARGET = pacs.dsp
|
||||
|
||||
# The default build rule
|
||||
all: check-deps $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
ar r $@ $(OBJS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Rules
|
||||
|
||||
include ../Rules.mk
|
||||
|
@ -1,64 +0,0 @@
|
||||
|
||||
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE \
|
||||
-I$(HOME)/cvs/code/nel/include \
|
||||
-I/usr/include/stlport \
|
||||
-I/usr/include
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/install/release/lib \
|
||||
-L/usr/local/lib \
|
||||
-lnelmisc \
|
||||
-lstlport \
|
||||
-lpthread \
|
||||
-ldl \
|
||||
-lrt
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = bnp_make
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
bnp_make: main.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
@ -1,58 +0,0 @@
|
||||
#############################################################################
|
||||
# Simple make file for compiling NeL examples
|
||||
|
||||
#############################################################################
|
||||
# Setting up the compiler settings...
|
||||
|
||||
# The names of the executables
|
||||
CXX = c++
|
||||
RM = rm -f
|
||||
MAKE = make
|
||||
|
||||
# The flags for the C++ compiler
|
||||
CXXFLAGS = -g -pipe -D_REENTRANT -D_GNU_SOURCE -DNL_RELEASE \
|
||||
-I$(HOME)/code/nel/include
|
||||
|
||||
# The flags for the linker
|
||||
LDFLAGS = -L$(HOME)/code/install/release/lib \
|
||||
-lnelmisc \
|
||||
-lpthread \
|
||||
-lrt \
|
||||
-ldl
|
||||
|
||||
#############################################################################
|
||||
# The bit that changes each time we cut paste and hack this file :o)
|
||||
|
||||
# The list of targets to build
|
||||
TARGETS = make_sheet_id
|
||||
|
||||
# The default build rule
|
||||
all: $(TARGETS)
|
||||
|
||||
make_sheet_id: make_sheet_id.o
|
||||
$(CXX) -o $@ $< $(LDFLAGS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# A few basic default rules and intrinsic rules
|
||||
|
||||
# Start off by over-riding the default build rules with our own intrinsics
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cpp .o
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
|
||||
# remove object files and core (if any)
|
||||
clean:
|
||||
$(RM) *.o core
|
||||
|
||||
# remove object files, core dump, and executable (if any)
|
||||
distclean:
|
||||
$(MAKE) clean
|
||||
$(RM) $(TARGET)
|
||||
|
||||
# make the thing again from scratch
|
||||
again:
|
||||
$(MAKE) distclean
|
||||
$(MAKE) $(TARGET)
|
Loading…
Reference in New Issue