clean: clean/$(LOCAL)
veryclean: veryclean/$(LOCAL)
+# Make Directories
+MKDIRS += $(OBJ) $(DEP) $(LIB) $(dir $($(LOCAL)-HEADERS))
+
# The clean rules
.PHONY: clean/$(LOCAL) veryclean/$(LOCAL)
clean/$(LOCAL):
echo Building library $@
-rm $@ > /dev/null 2>&1
$(AR) cq $@ $(filter %.o,$^)
+ifneq ($(words $(RANLIB)),0)
+ $(RANLIB) $@
+endif
# Compilation rules
vpath %.cc $(SUBDIRS)