diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -8,12 +8,20 @@ COMMON-SRC=$(wildcard common/*.erl) COMMON-BIN=$(COMMON-SRC:.erl=.beam) -.PHONY: all client server clean +.PHONY: all client server clean clean-client clean-server all: client server -clean: - -$(RM) $(CLIENT-BIN) $(SERVER-BIN) $(COMMON-BIN) +clean: clean-client clean-server + +clean-client: clean-common + -$(RM) $(CLIENT-BIN) + +clean-server: clean-common + -$(RM) $(SERVER-BIN) + +clean-common: + -$(RM) $(COMMON-BIN) client: $(CLIENT-BIN) $(COMMON-BIN) |