diff options
author | Ori Bernstein <ori@eigenstate.org> | 2012-06-19 01:04:36 -0400 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2012-06-19 01:04:36 -0400 |
commit | c056146c07a6521ddbf351f47539058af2436c36 (patch) | |
tree | bf003a4082bb27d7810799eead8c63f224ee0554 /mk | |
parent | a098baae59b556bbec643aa88aa6a0baa15fa9f2 (diff) | |
download | mc-c056146c07a6521ddbf351f47539058af2436c36.tar.gz |
Fix up recurring on deps.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/c.mk | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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 (\ |