Makefile: chrdir to asn1c subdir and build library there

This commit is contained in:
Harald Welte 2015-08-30 23:13:06 +02:00
parent d523a69dbe
commit 0bdea4da55
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,9 @@ all: hnbgw
hnbap_encoder.c: $(ASN1_DIR)/HNBAP-PDU-Contents.asn
$(ASN1TOSTRUCT) -f $<
asn1c/libosmo-asn1-hnbap.a:
$(MAKE) -C asn1c
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 $@ $^