mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-21 03:09:02 +02:00
[svn r136] MAJOR UNSTABLE UPDATE!!!
Initial commit after moving to Tango instead of Phobos. Lots of bugfixes... This build is not suitable for most things.
This commit is contained in:
89
tango/example/linux.mak
Normal file
89
tango/example/linux.mak
Normal file
@@ -0,0 +1,89 @@
|
||||
# Makefile to build the examples of tango for Linux
|
||||
# Designed to work with GNU make
|
||||
# Targets:
|
||||
# make
|
||||
# Same as make all
|
||||
# make all
|
||||
# Build all examples
|
||||
#
|
||||
# make <executable-name>
|
||||
# Build a specified example
|
||||
# make clean
|
||||
# remove all build examples
|
||||
#
|
||||
#
|
||||
|
||||
# Relative path to the tango include dir
|
||||
# This is where the tango tree is located
|
||||
TANGO_DIR = ..
|
||||
|
||||
# The build tool executable from dsource.org/projects/build
|
||||
BUILDTOOL = bud
|
||||
BUILDOPTS = -noautoimport -op -clean -full -g -debug -I$(TANGO_DIR)
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
# Standard target
|
||||
all :
|
||||
|
||||
# networking/httpserver \
|
||||
# networking/servlets \
|
||||
# networking/servletserver\
|
||||
|
||||
SIMPLE_EXAMPLES =\
|
||||
concurrency/fiber_test \
|
||||
conduits/FileBucket \
|
||||
conduits/composite \
|
||||
conduits/filebubbler \
|
||||
conduits/filecat \
|
||||
conduits/filecopy \
|
||||
conduits/fileops \
|
||||
conduits/filepathname \
|
||||
conduits/filescan \
|
||||
conduits/filescanregex \
|
||||
conduits/lineio \
|
||||
conduits/mmap \
|
||||
conduits/randomio \
|
||||
conduits/unifile \
|
||||
console/hello \
|
||||
console/stdout \
|
||||
logging/chainsaw \
|
||||
logging/logging \
|
||||
networking/homepage \
|
||||
networking/httpget \
|
||||
networking/sockethello \
|
||||
networking/socketserver \
|
||||
system/argparser \
|
||||
system/localtime \
|
||||
system/normpath \
|
||||
system/process \
|
||||
networking/selector \
|
||||
text/formatalign \
|
||||
text/formatindex \
|
||||
text/formatspec \
|
||||
text/localetime \
|
||||
text/properties \
|
||||
text/token
|
||||
|
||||
REFERENCE_EXAMPLES = \
|
||||
./reference/chapter4 \
|
||||
./reference/chapter11
|
||||
|
||||
$(SIMPLE_EXAMPLES) : % : %.d
|
||||
@echo "Building : " $@
|
||||
$(BUILDTOOL) $< $(BUILDOPTS) -T$@ -unittest
|
||||
|
||||
$(REFERENCE_EXAMPLES) : % : %.d
|
||||
@echo "Building : " $@
|
||||
$(BUILDTOOL) $< $(BUILDOPTS) -T$@
|
||||
|
||||
all : $(SIMPLE_EXAMPLES)
|
||||
|
||||
clean :
|
||||
@echo "Removing all examples"
|
||||
rm -f $(SIMPLE_EXAMPLES) $(REFERENCE_EXAMPLES)
|
||||
rm -f conduits/random.bin
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user