X-Git-Url: https://git.llucax.com/software/dgc/cdgc.git/blobdiff_plain/9aada2930522a2ef5f46d66e947b7b535ecb1b75..9fac8d774138f03d80061c243400b67b48879fd5:/Makefile diff --git a/Makefile b/Makefile index 90a932f..32232ef 100644 --- a/Makefile +++ b/Makefile @@ -32,11 +32,12 @@ LD_OUTPUT_OPTION = -o $@ # GC sources sources := \ - gc.d \ - gcalloc.d \ - gcbits.d \ - gcstats.d \ - gcx.d + gc/iface.d \ + gc/alloc.d \ + gc/bits.d \ + gc/stats.d \ + gc/libc.d \ + gc/gc.d # Default target all: $B/cdgc.so @@ -58,6 +59,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)