diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-10-13 11:53:04 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2010-10-13 11:53:04 +0200 |
commit | c9243b1a59b5494f75485d02d4db13762b886136 (patch) | |
tree | 3c2252c6f184ede238aa2ee2663030e86cee88c8 | |
parent | ed7f050a0f6d008b327098ad930c4873d3b3e461 (diff) | |
download | erlang-c9243b1a59b5494f75485d02d4db13762b886136.tar.gz erlang-c9243b1a59b5494f75485d02d4db13762b886136.tar.xz erlang-c9243b1a59b5494f75485d02d4db13762b886136.zip |
added makefiles
-rw-r--r-- | client/Makefile | 16 | ||||
-rw-r--r-- | server/Makefile | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/client/Makefile b/client/Makefile new file mode 100644 index 0000000..f447307 --- /dev/null +++ b/client/Makefile @@ -0,0 +1,16 @@ +SRC=$(wildcard *.erl) +BIN=$(SRC:.erl=.beam) + +.PHONY: all clean + +####################### + +all: $(BIN) + +%.beam: %.erl + erlc $< + +####################### + +clean: + -$(RM) $(BIN) diff --git a/server/Makefile b/server/Makefile new file mode 100644 index 0000000..f447307 --- /dev/null +++ b/server/Makefile @@ -0,0 +1,16 @@ +SRC=$(wildcard *.erl) +BIN=$(SRC:.erl=.beam) + +.PHONY: all clean + +####################### + +all: $(BIN) + +%.beam: %.erl + erlc $< + +####################### + +clean: + -$(RM) $(BIN) |