#LDFLAGS :=
# GC sources
-sources := \
+sources := $(addprefix rt/gc/cdgc/,\
+ iface.d \
+ alloc.d \
+ bits.d \
+ stats.d \
+ libc.d \
gc.d \
- gcalloc.d \
- gcbits.d \
- gcstats.d \
- gcx.d
+ )
# Default target
all: $B/cdgc.so
$(if $V,,@echo ' $(DC) $@')
$(if $V,,@) $(DC) $(DCFLAGS) $(DC_OBJ_OPT) $(DC_OUTPUT_OPTION) $<
+clean:
+ $(if $V,,@echo ' $(RM) $B')
+ $(if $V,,@) $(RM) -r $B
__dummy := $(shell mkdir -p $B)