diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-10-14 15:19:19 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2010-10-14 15:19:19 +0200 |
commit | 7cd7907b9a4437c364200c0b455d753887080227 (patch) | |
tree | 30c39f7fe2da9656acd7a0a899ab3f4225a57219 /Makefile | |
parent | f274c57728163f77abf3b2afb18ffe6041b6720f (diff) | |
download | erlang-7cd7907b9a4437c364200c0b455d753887080227.tar.gz erlang-7cd7907b9a4437c364200c0b455d753887080227.tar.xz erlang-7cd7907b9a4437c364200c0b455d753887080227.zip |
added makefiles in the subdirs
Diffstat (limited to 'Makefile')
-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) |