Packages

Erlang version of cat(1)

Current section

Files

Jump to
ecat makefile
Raw

makefile

A = .a
O = .o
B = .beam
E =
.SUFFIXES : .h .c .i $O $E .hrl .erl .beam .sh
PROJ := ecat
BIN := _build/default/bin
ELIB := _build/default/lib
EBIN := ${ELIB}/${PROJ}/ebin
ERLC_FLAGS := -o${EBIN}
$E$B:
erlc ${ERLC_FLAGS} $@
all:
rebar3 escriptize
clean:
-rm -rf src/*$B *dump
distclean: clean
-rm -rf _build ebin
tar:
git archive --format tar.gz --prefix ${PROJ}/ -o ${PROJ}.tar.gz HEAD
test: unit
unit:
rebar3 eunit