ref: c056146c07a6521ddbf351f47539058af2436c36
parent: a098baae59b556bbec643aa88aa6a0baa15fa9f2
author: Ori Bernstein <[email protected]>
date: Mon Jun 18 21:04:36 EDT 2012
Fix up recurring on deps.
--- a/mk/c.mk
+++ b/mk/c.mk
@@ -22,13 +22,8 @@
$(BIN): $(OBJ) $(EXTRADEP) $(DEPS)
$(CC) -o $@ $(OBJ) $(_LIBSRCHPATHS) $(_LIBPATHS)
-.PHONY: $(DEPS)
$(DEPS):
- @for i in $(dir $(DEPS)); do (\
- cd $$i && \
- $(MAKE) || \
- exit 1 \
- ) || exit 1; done
+ @cd $(dir $@) && $(MAKE)
subdirs:
@for i in $(SUB); do (\