mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-05-04 01:11:29 +02:00
Created separate tests directory for D1.
This commit is contained in:
51
tests/d1/testincludes/Makefile
Normal file
51
tests/d1/testincludes/Makefile
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copied from tango runtime makefile.
|
||||
# Designed to work with GNU make
|
||||
# Targets:
|
||||
# make
|
||||
# Same as make all
|
||||
# make lib
|
||||
# Build the common library
|
||||
# make doc
|
||||
# Generate documentation
|
||||
# make clean
|
||||
# Delete unneeded files created by build process
|
||||
|
||||
LIB_TARGET=libtangobos-partial.a
|
||||
LIB_MASK=libtangobos-partial.*
|
||||
|
||||
CP=cp -f
|
||||
RM=rm -f
|
||||
MD=mkdir -p
|
||||
|
||||
ADD_CFLAGS=
|
||||
ADD_DFLAGS=
|
||||
|
||||
#CFLAGS=-O3 $(ADD_CFLAGS)
|
||||
CFLAGS=-g $(ADD_CFLAGS)
|
||||
|
||||
#DFLAGS=-release -O3 -inline -w $(ADD_DFLAGS)
|
||||
DFLAGS=-g -w -noasm $(ADD_DFLAGS)
|
||||
|
||||
DC=ldc
|
||||
|
||||
targets : lib
|
||||
all : lib
|
||||
lib : tangobos.lib
|
||||
|
||||
SOURCE= \
|
||||
std/gc.d \
|
||||
std/outofmemory.d \
|
||||
std/IEEE.d \
|
||||
std/stdarg.d \
|
||||
# std/asserterror.d \
|
||||
# std/format.d \
|
||||
|
||||
tangobos.lib : $(LIB_TARGET)
|
||||
|
||||
$(LIB_TARGET) : $(ALL_OBJS)
|
||||
$(DC) -lib -of$(LIB_TARGET) $(DFLAGS) $(SOURCE)
|
||||
|
||||
clean :
|
||||
$(RM) $(ALL_OBJS)
|
||||
find . -name "$(LIB_MASK)" | xargs $(RM)
|
||||
|
||||
Reference in New Issue
Block a user