blob: 1c9f63d6e3a8b47e3b3e01480cfb024aafbd171b [file] [log] [blame]
PKG_INCLUDES:=$(shell pkg-config --cflags libosmocore libosmovty libosmogsm libasn1c)
PKG_LDFLAGS:=$(shell pkg-config --libs libosmocore libosmovty libosmogsm libasn1c)
CFLAGS:=-g -Wall $(PKG_INCLUDES) -I.. -I../hnbap
LDFLAGS:=$(PKG_LDFLAGS)
test-helpers: ../iu_helpers.o ../asn1helpers.o test-helpers.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
test-hnbap: ../iu_helpers.o ../asn1helpers.o ../hnbap_common.o ../hnbap_decoder.o test-hnbap.c ../hnbap/libosmo-asn1-hnbap.a
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^