Need a makefile
Opened this issue · 1 comments
GoogleCodeExporter commented
ERL_SOURCES := $(wildcard src/*.erl)
ERL_OBJECTS := $(ERL_SOURCES:src/%.erl=ebin/%.beam)
ebin/%.beam: src/%.erl
erlc +debug_info -o ebin/ $<
all: $(ERL_OBJECTS)
That seems to do the job.
Original issue reported on code.google.com by davidnwe...@gmail.com
on 25 Sep 2007 at 3:58
GoogleCodeExporter commented
erlc +debug_info -o ebin/ $<
seems not work
need to be changed to
erlc +debug_info -o $@ $<
Original comment by TonyLY...@gmail.com
on 1 Mar 2010 at 7:13