aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Wittig <michael.wittig@fu-berlin.de>2010-10-14 15:26:47 +0200
committerMichael Wittig <michael.wittig@fu-berlin.de>2010-10-14 15:26:47 +0200
commit6eef92b9297377aeb1fdd1e55fbb89ea38d1be78 (patch)
treeac65aeb55c634d8cf8cdb6a53f33875cb53549d5 /Makefile
parenta844b69799ad2a223da778a3ce68ccd9102c3816 (diff)
parent097d7f7dda9c405fb796e3228631a07192f36bd1 (diff)
downloaderlang-6eef92b9297377aeb1fdd1e55fbb89ea38d1be78.tar.gz
erlang-6eef92b9297377aeb1fdd1e55fbb89ea38d1be78.tar.xz
erlang-6eef92b9297377aeb1fdd1e55fbb89ea38d1be78.zip
Merge branch 'master' of ssh://git.animux.de/erlang
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c309692..4b9fc1b 100644
--- a/Makefile
+++ b/Makefile
@@ -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)