summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-06-19 01:04:36 -0400
committerOri Bernstein <ori@eigenstate.org>2012-06-19 01:04:36 -0400
commit4c68447b647cad4c8e17ad2e82cf16f850cbb0c4 (patch)
treebf003a4082bb27d7810799eead8c63f224ee0554 /mk
parent08120de37bebdbabf2b5944739f06c9cb1c3591f (diff)
downloadmc-4c68447b647cad4c8e17ad2e82cf16f850cbb0c4.tar.gz
Fix up recurring on deps.
Diffstat (limited to 'mk')
-rw-r--r--mk/c.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/mk/c.mk b/mk/c.mk
index 8c090ac..fffd208 100644
--- a/mk/c.mk
+++ b/mk/c.mk
@@ -22,13 +22,8 @@ $(LIB): $(OBJ) $(DEPS)
$(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 (\