File: Makefile

package info (click to toggle)
erlang-cuttlefish 2.0.11%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 664 kB
  • sloc: erlang: 5,681; makefile: 37
file content (29 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (2)
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
DIALYZER_APPS = kernel stdlib sasl erts ssl tools os_mon runtime_tools crypto inets \
	public_key mnesia syntax_tools compiler
COMBO_PLT = $(HOME)/.cuttlefish_combo_dialyzer_plt
REBAR_BIN := $(shell which rebar)
ifeq ($(REBAR_BIN),)
REBAR_BIN = ./rebar
endif

.PHONY: deps

all: deps compile
	$(REBAR_BIN) skip_deps=true escriptize

deps:
	$(REBAR_BIN) get-deps

docsclean:
	@rm -rf doc/*.png doc/*.html doc/*.css doc/edoc-info

compile: deps
	$(REBAR_BIN) compile

clean:
	@$(REBAR_BIN) clean

distclean: clean
	@rm -rf cuttlefish deps

include tools.mk