needed to avoid double builds after updates in codegen

master
Volker Birk 2023-02-10 11:14:15 +01:00
parent 993b76c4db
commit 3f135b4d5e
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,7 @@ all: Sync.c Storage.c ASN1Message.c
Sync.c: $(SYNC_FILES) pEp.asn1
$(ASN1C) -gen-PER $(ASN1C_OPTIONS) $(SYNC_FILES) pEp.asn1
del /f converter-sample.c *.sample 2>nul
touch Sync.c
# These files are generated with Sync.c because of the dependency
#
@ -27,10 +28,12 @@ Sync.c: $(SYNC_FILES) pEp.asn1
Storage.c: $(STORAGE_FILES) pEp.asn1
$(ASN1C) -gen-PER $(ASN1C_OPTIONS) $(STORAGE_FILES) pEp.asn1
del /f converter-sample.c *.sample 2>nul
touch Storage.c
ASN1Message.c: message.asn1 pEp.asn1
$(ASN1C) -gen-PER $(ASN1C_OPTIONS) message.asn1 pEp.asn1
del /f converter-sample.c *.sample 2>nul
touch ASN1Message.c
clean:
del /f/q *.c *.h