aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
blob: dc7fa4bc9dabd4cbe6e4189948822f01ee7a1f6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ifeq ($(TYPE),debug)
DEBUG_FLAGS = -Ddebug
else
DEBUG_FLAGS =
endif

include ../include.mk
include ../vsn.mk

ERLC_FLAGS+=-W $(DEBUG_FLAGS)
MODULES = slang

TARGETS = $(MODULES:%=../ebin/%.beam) ../ebin/slang.app


all debug:	$(TARGETS)
clean:
	rm -f $(TARGETS)
../ebin/slang.app:	slang.app.src
	cat slang.app.src | sed 's/%VSN%/${SLANG_VSN}/' > ../ebin/slang.app