[thrift] Erlang makefile includes to terse messages

Summary: filter out compiler path and flags and cruft

Reviewed By: eletuchy

Test Plan: ok

Revert Plan: ok


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665336 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Christopher Piro 2007-11-15 02:20:59 +00:00
parent 6c74062262
commit 0d5cd8a6b9

View File

@ -1,13 +1,14 @@
EBIN=../ebin
EMULATOR=beam
EBIN ?= ../ebin
ESRC ?= .
EMULATOR = beam
ERLC_WFLAGS = -W
ERLC = erlc $(ERLC_WFLAGS) $(ERLC_FLAGS)
ERL = erl -boot start_clean
ESRC = .
$(EBIN)/%.beam: $(ESRC)/%.erl
$(ERLC) $(ERL_FLAGS) $(ERL_COMPILE_FLAGS) -o$(EBIN) $<
@echo " ERLC $<"
@$(ERLC) $(ERL_FLAGS) $(ERL_COMPILE_FLAGS) -o$(EBIN) $<
.erl.beam:
$(ERLC) $(ERL_FLAGS) $(ERL_COMPILE_FLAGS) -o$(dir $@) $<