X-Git-Url: https://git.llucax.com/software/dgc/cdgc.git/blobdiff_plain/9aada2930522a2ef5f46d66e947b7b535ecb1b75..2b70a82bd511b6e1bc1f9ae5e0c1a070158c81d6:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 90a932f..736862e 100644 --- a/Makefile +++ b/Makefile @@ -31,12 +31,14 @@ LD_OUTPUT_OPTION = -o $@ #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 @@ -58,6 +60,9 @@ $B/%.o: %.d $(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)