aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/examples/gen_tcp_dist/Makefile
blob: 0c916835ea1956812b8ea1f01f0877e17f530984 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
RM=rm -f
CP=cp
EBIN=ebin
ERLC=erlc
ERLCFLAGS+= -W

MODULES=gen_tcp_dist

TARGET_FILES=$(MODULES:%=$(EBIN)/%.beam)

opt: $(TARGET_FILES)

$(EBIN)/%.beam: src/%.erl
	$(ERLC) $(ERLCFLAGS) -o$(EBIN) $<

clean:
	$(RM) $(TARGET_FILES)