summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile24
1 files changed, 15 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 81562fa..b71a468 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,20 @@
-SRCS = ACSE-1.erl \
- CSTA-application-context-information-csta3.erl \
- Remote-Operations-Generic-ROS-PDUs.erl \
- KME-specific-types.erl \
- CSTA-device-identifiers.erl \
- CSTA-call-connection-identifiers.erl \
- CSTA-extension-types.erl \
- CSTA-security.erl \
- CSTA-escape-service.erl
+ASN1 = ACSE-1.asn1 \
+ CSTA-application-context-information-csta3.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 $<
+
+clean:
+ rm -f $(SRCS) $(HDRS) *.beam *.asn1db