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
vb@628
     1
include ../Makefile.conf
vb@628
     2
vb@631
     3
all: Message.c Message.h
vb@628
     4
vb@628
     5
%.o: %.c %.h
vb@628
     6
	$(CC) $(CFLAGS) -I$(ASN1C_INCLUDE) -c $< -o $@
vb@628
     7
vb@631
     8
Message.c Message.h: devicegroup.asn1
vb@631
     9
	$(ASN1C) -fcompound-names -pdu=PEP.Message pEp.asn1 $<
vb@628
    10
vb@628
    11
.PHONY: clean
vb@628
    12
vb@628
    13
clean:
vb@628
    14
	rm -f *.o *.c *.h *.sample