X-Git-Url: https://git.llucax.com/software/dgc/cdgc.git/blobdiff_plain/9aada2930522a2ef5f46d66e947b7b535ecb1b75..0c03b35e455d2c8bb2c50bb2cdaf3b1538431a0a:/Makefile?ds=inline 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)