From 9fe0a67d596286d37cee522a9da823faf5e30b20 Mon Sep 17 00:00:00 2001 From: Jorgen Brandt Date: Mon, 11 Apr 2016 19:36:38 +0200 Subject: [PATCH] Makefile simplified. --- Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index f62d110..c8b2e97 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,11 @@ -XRL=cf_scan cf_prescan -YRL=cf_parse -SRC=cf_cre cf_sem cf_shell cf_sup condor cuneiform cuneiform_app gen_queue lib_os local -INC=cuneiform PWD=$(shell pwd) -all: _build/default/bin/cuneiform +all: compile -install: _build/default/bin/cuneiform +install: compile ln -sf $(PWD)/_build/default/bin/cuneiform /usr/local/bin/cuneiform -_build/default/bin/cuneiform: $(SRC:%=src/%.erl) $(INC:%=include/%.hrl) $(XRL:%=src/%.xrl) $(YRL:%=src/%.yrl) +compile: rebar3 escriptize dev: