summaryrefslogtreecommitdiff
path: root/Makefile
blob: 0e0f345686009f3127e6ed89f9c9a9403bf9dd73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ASN1 =	ACSE-1.asn1 \
	CSTA-application-context-information-csta3.asn1 \
	CSTA-system-status.asn1 \
	CSTA-monitor-start.asn1 \
	CSTA-status-reporting.asn1 \
	Remote-Operations-Generic-ROS-PDUs.asn1 \
	KME-specific-types.asn1 \
	CSTA-device-identifiers.asn1 \
	CSTA-call-connection-identifiers.asn1 \
	CSTA-extension-types.asn1 \
	CSTA-security.asn1 \
	CSTA-escape-service.asn1

SRCS =	$(ASN1:.asn1=.erl)
HDRS =	$(ASN1:.asn1=.hrl)

all: $(SRCS)

%.erl: lib/%.asn1
	erlc $<
	erlc $@

clean:
	rm -f $(SRCS) $(HDRS) *.beam *.asn1db