]> git.llucax.com Git - software/dgc/cdgc.git/blobdiff - Makefile
Remove (un)committed pages distinction
[software/dgc/cdgc.git] / Makefile
index 90a932fb6840d4e9e05c02e4469f5dad10f7cb0c..32232ef218aca16d062661c683ce6d2ad97bebd0 100644 (file)
--- 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)