From f00bf6eeeca011530a9c7a0c0e829024f6e87426 Mon Sep 17 00:00:00 2001 From: Krista 'DarthMama' Bennett Date: Mon, 24 Feb 2020 13:22:06 +0100 Subject: [PATCH] Makefile fix --- asn.1/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/asn.1/Makefile b/asn.1/Makefile index 5891b8fa..483a020e 100644 --- a/asn.1/Makefile +++ b/asn.1/Makefile @@ -6,10 +6,7 @@ include ../Makefile.conf ALL_SOURCE=$(subst $(NO_SOURCE),,$(wildcard *.c)) ALL_OBJECTS=$(subst .c,.o,$(ALL_SOURCE)) CPPFLAGS+=$(CFLAGS_GENERATED) -ASN1_INCL_LIST=-I. -#ifdef ASN1C_INC -#ASN1_INCL_LIST+= -I$(ASN1C_INC) -#endif +ASN1C_INC+= -I. .PHONY: all clean install uninstall @@ -20,7 +17,7 @@ libasn1.a: $(ALL_OBJECTS) $(AR) -rc $@ $(ALL_OBJECTS) %.o: %.c %.h - $(CC) $(CPPFLAGS) $(CFLAGS) $(OPTIMIZE) $(ASN1_INC_LIST) -c $< -o $@ + $(CC) $(CPPFLAGS) $(CFLAGS) $(OPTIMIZE) $(ASN1C_INC) -c $< -o $@ Sync.c: sync.asn1 keysync.asn1 pEp.asn1 $(ASN1C) -gen-PER -fincludes-quoted -fcompound-names -pdu=auto pEp.asn1 keysync.asn1 $<