asn.1/Makefile
author Volker Birk <vb@pep-project.org>
Mon, 16 May 2016 10:50:50 +0200
changeset 631 b2be2f799950
parent 628 7a1615476a52
child 633 a2a4ad55e19e
permissions -rw-r--r--
Message
     1 include ../Makefile.conf
     2 
     3 all: Message.c Message.h
     4 
     5 %.o: %.c %.h
     6 	$(CC) $(CFLAGS) -I$(ASN1C_INCLUDE) -c $< -o $@
     7 
     8 Message.c Message.h: devicegroup.asn1
     9 	$(ASN1C) -fcompound-names -pdu=PEP.Message pEp.asn1 $<
    10 
    11 .PHONY: clean
    12 
    13 clean:
    14 	rm -f *.o *.c *.h *.sample