[go: up one dir, main page]

Menu

[r123]: / tags / 0.2.1 / module / Makefile  Maximize  Restore  History

Download this file

19 lines (13 with data), 362 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
.SUFFIXES: .erl .beam .yrl
CC=erlc
MODS= driver trimaths mrh rih mvh dvh player multi memo comm
OPTS= -W +warn_unused_vars +nowarn_shadow_vars +warn_unused_import
#OPTS= -Ddebug -W
# debug turns debugging on
.erl.beam:
$(CC) $(OPTS) $<
all: ${MODS:%=%.beam}
install:
cp *.beam ../ebin/
clean:
rm -f {.,../ebin}/*.beam {.,../ebin}/erl_crash.dump \#* *~