From cb2340a69969b7937c4f943c432820e61ad95011 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 27 Oct 2015 18:00:17 +0100 Subject: Add clean --- Makefile | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3