Make asn1c not run every time sync
authorDamiano Boppart <damiano.boppart@pep.security>
Tue, 07 May 2019 16:26:27 +0200
branchsync
changeset 36446fcb8a1e040a
parent 3643 7d41a09ebd76
child 3646 4c1f9f5e77b3
Make asn1c not run every time
asn.1/Makefile
     1.1 --- a/asn.1/Makefile	Tue May 07 13:24:07 2019 +0200
     1.2 +++ b/asn.1/Makefile	Tue May 07 16:26:27 2019 +0200
     1.3 @@ -9,7 +9,7 @@
     1.4  .PHONY: all clean install uninstall
     1.5  
     1.6  all: Sync.c
     1.7 -	make libasn1.a
     1.8 +	$(MAKE) libasn1.a
     1.9  
    1.10  libasn1.a: $(ALL_OBJECTS)
    1.11  	$(AR) -rc $@ $(ALL_OBJECTS)
    1.12 @@ -20,6 +20,7 @@
    1.13  Sync.c: sync.asn1 keysync.asn1 pEp.asn1
    1.14  	$(ASN1C) -gen-PER -fincludes-quoted -fcompound-names -pdu=auto pEp.asn1 keysync.asn1 $<
    1.15  	rm -f converter-sample.c
    1.16 +	touch Sync.c
    1.17  
    1.18  clean:
    1.19  	rm -f *.a *.o *.c *.h *.sample sync.asn1 keysync.asn1