aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
blob: b383c012ab486f4a8efae163f21d5442af63d028 (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