diff options
Diffstat (limited to 'demo/Makefile')
-rw-r--r-- | demo/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/demo/Makefile b/demo/Makefile new file mode 100644 index 0000000..7039b4a --- /dev/null +++ b/demo/Makefile @@ -0,0 +1,20 @@ + + +ifeq ($(TYPE),debug) +DEBUG_FLAGS = -Ddebug +else +DEBUG_FLAGS = +endif + +include ../include.mk + +ERLC_FLAGS+=-W $(DEBUG_FLAGS) +MODULES = ex2 ex1 + + +TARGETS = $(MODULES:%=%.beam) + +all debug: $(TARGETS) + +clean: + rm -f $(TARGETS) |