Skip to content
This repository
tag: webmachine-1.4
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 20 lines (14 sloc) 0.43 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
ERL ?= erl
EBIN_DIRS := $(wildcard webmachine/ebin)
APP := webmachine_demo

all: erl ebin/$(APP).app

erl:
@$(ERL) -pa $(EBIN_DIRS) -noinput +B \
-eval 'case make:all() of up_to_date -> halt(0); error -> halt(1) end.'

docs:
@erl -noshell -run edoc_run application '$(APP)' '"."' '[]'

clean:
@echo "removing:"
@rm -fv ebin/*.beam ebin/*.app

ebin/$(APP).app: src/$(APP).app
@cp -v src/$(APP).app $@
Something went wrong with that request. Please try again.