asn.1/Makefile
branchsync
changeset 3448 191306b90981
parent 3444 b02aedcd6a50
child 3454 cfc98ce474a5
     1.1 --- a/asn.1/Makefile	Fri Apr 05 22:24:59 2019 +0200
     1.2 +++ b/asn.1/Makefile	Sat Apr 06 19:00:48 2019 +0200
     1.3 @@ -6,20 +6,18 @@
     1.4  ALL_SOURCE=$(subst $(NO_SOURCE),,$(wildcard *.c))
     1.5  ALL_OBJECTS=$(subst .c,.o,$(ALL_SOURCE))
     1.6  
     1.7 -all: generate
     1.8 +all: Sync.c
     1.9  	make libasn1.a
    1.10  
    1.11  libasn1.a: $(ALL_OBJECTS)
    1.12  	$(AR) -rc $@ $(ALL_OBJECTS)
    1.13  
    1.14 -generate: Sync.c
    1.15 -	rm -f converter-sample.c
    1.16 -
    1.17  %.o: %.c %.h
    1.18  	$(CC) $(CFLAGS) $(OPTIMIZE) -I. $(ASN1C_INC) -c $< -o $@
    1.19  
    1.20  Sync.c: sync.asn1 keysync.asn1 pEp.asn1
    1.21  	$(ASN1C) -gen-PER -fincludes-quoted -fcompound-names -pdu=auto pEp.asn1 keysync.asn1 $<
    1.22 +	rm -f converter-sample.c
    1.23  
    1.24  sync.asn1 keysync.asn1 pEp.asn1:
    1.25  	cp -f ../sync/generated/*.asn1 ../asn.1