Skip to content

Commit

Permalink
Prevent crashes when cleaning without building
Browse files Browse the repository at this point in the history
  • Loading branch information
oribrost committed Nov 4, 2011
1 parent d0b50df commit 3d30b73
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion c_src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ endif
all: $(DEPS)/zeromq2/src/.libs/libzmq.a

clean:
@cd $(DEPS)/zeromq2; make clean
if test -e $(DEPS)/zeromq2/Makefile; then \
cd $(DEPS)/zeromq2; make clean; \
else \
true; \
fi

distclean:
@rm -rf $(DEPS)
Expand Down

0 comments on commit 3d30b73

Please sign in to comment.