Merge branch 'pu'
[jungerl.git] / lib / pan / src / Makefile
blob9443569e356a7d2b705152db2dba253bd89a8963
1 #include ../../../support/include.mk
2 ERLC = erlc
3 ERLC_FLAGS = -W +debug_info
4 EBIN = ../ebin
5 INC = ../inc
7 ERLS = $(wildcard *.erl)
8 FILES = $(patsubst %.erl, %, $(ERLS))
9 DEPS = $(patsubst %, $(EBIN)/%.beam, panHost panTarg panScan panLib)
11 default: all
12 all: $(FILES)
14 $(FILES): % : $(EBIN)/%.beam
16 $(DEPS): $(EBIN)/%.beam : %.erl $(INC)/pan.hrl
17 $(ERLC) -o $(EBIN) -I $(INC) $(ERLC_FLAGS) $<
18 $(EBIN)/%.beam: %.erl
19 $(ERLC) -o $(EBIN) $(ERLC_FLAGS) $<