summaryrefslogtreecommitdiff
path: root/mk/c.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/c.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 (\