-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
56 lines (41 loc) · 1.34 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
### Copyright (c) 2017, DuoMark International, Inc. All Rights Reserved.
### Author Jay Nelson <[email protected]>
### Project name and version are defined by relx.config line:
### {release, {esse, 0.2.0}, [esse]}
PROJECT_AWK := awk '/^{release,/ {sub(/^{release, {/, ""); sub(/,.*/, ""); print}'
VERSION_AWK := awk '/^{release,/ {sub(/^{release, [^ ]+ "/, ""); sub(/\".*/, ""); print}'
PROJECT := $(shell ${PROJECT_AWK} <relx.config)
PROJECT_VERSION := $(shell ${VERSION_AWK} <relx.config)
PROJECT_DESCRIPTION = Benchmarks Using Browser-Based Animation
HOST := `hostname`
ROOT := $(shell pwd)
# Set to always use 4 spaces on generated code
SP=4
# Change to V=1 for verbose debugging
V=0
DEPS = asciideck eper esse elli
dep_elli = hex 2.0.1
dep_esse = git https://github.com/duomark/esse 0.2.0
PLT_APPS = crypto ssl public_key
ERLC_OPTS := +debug_info +"{cover_enabled, true}"
include erlang.mk
CMN_EFLAGS = \
-boot start_sasl \
-smp enable \
-setcookie ${COOKIE} \
-name ${PROJECT}@${HOST} \
+P 1000000 \
+K true +A 160 -sbt ts
DEV_EFLAGS = \
-pa ${ROOT}/deps/*/ebin \
-pa ${ROOT}/ebin \
${CMN_EFLAGS}
REL_EFLAGS = \
-pa ${ROOT_REL}/lib/*/ebin \
${CMN_EFLAGS}
dev:
erl ${DEV_EFLAGS} -s bubba_app
gc:
@echo 'Removing all emacs backup files'
@find . -name "*~" -exec rm -f {} \;
@find . -name "erl_crash.dump" -exec rm -f {} \;