aboutsummaryrefslogtreecommitdiffstats
path: root/server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--server/Makefile16
1 files changed, 16 insertions, 0 deletions
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)