aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-10-13 11:53:04 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2010-10-13 11:53:04 +0200
commitc9243b1a59b5494f75485d02d4db13762b886136 (patch)
tree3c2252c6f184ede238aa2ee2663030e86cee88c8
parented7f050a0f6d008b327098ad930c4873d3b3e461 (diff)
downloaderlang-c9243b1a59b5494f75485d02d4db13762b886136.tar.gz
erlang-c9243b1a59b5494f75485d02d4db13762b886136.tar.xz
erlang-c9243b1a59b5494f75485d02d4db13762b886136.zip
added makefiles
-rw-r--r--client/Makefile16
-rw-r--r--server/Makefile16
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)