actually build + link the asn1c generated HNBAP ASN.1
diff --git a/src/Makefile b/src/Makefile
index 9bff932..0e0f568 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -5,7 +5,7 @@
ASN1TOSTRUCT:=$(ASN1_ROOT)/utils/asn1tostruct.py
#ASN1_SRCS:=$(patsubst
-CFLAGS=-g -Wall `pkg-config --cflags libosmocore libosmovty libosmogsm` -I$(ASN1_DIR)/asn1c/
+CFLAGS=-g -Wall `pkg-config --cflags libosmocore libosmovty libosmogsm` -Iasn1c/
LDFLAGS=`pkg-config --libs libosmocore libosmovty libosmogsm` -lsctp
all: hnbgw
@@ -14,7 +14,7 @@
hnbap_encoder.c: $(ASN1_DIR)/HNBAP-PDU-Contents.asn
$(ASN1TOSTRUCT) -f $<
-hnbgw: asn1helpers.o hnbap_common.o hnbap_encoder.o hnbap_decoder.o hnbgw.o hnbgw_hnbap.o
+hnbgw: asn1helpers.o hnbap_common.o hnbap_encoder.o hnbap_decoder.o hnbgw.o hnbgw_hnbap.o asn1c/libosmo-asn1-hnbap.a
$(CC) $(LDFLAGS) -o $@ $^
%.o: %.c