From: Christopher Piro Date: Thu, 15 Nov 2007 02:20:59 +0000 (+0000) Subject: [thrift] Erlang makefile includes to terse messages X-Git-Tag: 0.2.0~1136 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=0d5cd8a6b92053df8e8b1f5df9e2e3e55c3a9cd1;p=common%2Fthrift.git [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 --- diff --git a/lib/erl/build/buildtargets.mk b/lib/erl/build/buildtargets.mk index 24d0bf89..db52b785 100644 --- a/lib/erl/build/buildtargets.mk +++ b/lib/erl/build/buildtargets.mk @@ -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 $@) $<