Harald Welte | 35cbc11 | 2015-09-11 17:36:59 +0200 | [diff] [blame] | 1 | |
| 2 | PKG_INCLUDES:=$(shell pkg-config --cflags libosmocore libosmovty libosmogsm libasn1c) |
| 3 | PKG_LDFLAGS:=$(shell pkg-config --libs libosmocore libosmovty libosmogsm libasn1c) |
| 4 | |
Daniel Willmann | 39e643a | 2015-11-24 18:03:29 +0100 | [diff] [blame^] | 5 | CFLAGS:=-g -Wall $(PKG_INCLUDES) -I.. -I../hnbap |
Harald Welte | 35cbc11 | 2015-09-11 17:36:59 +0200 | [diff] [blame] | 6 | LDFLAGS:=$(PKG_LDFLAGS) |
| 7 | |
Daniel Willmann | 54a9a14 | 2015-11-23 14:01:25 +0100 | [diff] [blame] | 8 | test-helpers: ../iu_helpers.o ../asn1helpers.o test-helpers.c |
Harald Welte | 35cbc11 | 2015-09-11 17:36:59 +0200 | [diff] [blame] | 9 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ |
Daniel Willmann | 39e643a | 2015-11-24 18:03:29 +0100 | [diff] [blame^] | 10 | |
| 11 | test-hnbap: ../iu_helpers.o ../asn1helpers.o ../hnbap_common.o ../hnbap_decoder.o test-hnbap.c ../hnbap/libosmo-asn1-hnbap.a |
| 12 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ |