aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
blob: 18ec5bb1d41f5b5a66d4826303959a1115833690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
LIBFFASN1_DIR=../../../kommerz/sysmocom/git/admin/ffasn1c/libffasn1

CFLAGS=-g -Wall `pkg-config --cflags libosmocore libosmovty libosmogsm` -I$(LIBFFASN1_DIR)
LDFLAGS=`pkg-config --libs libosmocore libosmovty libosmogsm` -lsctp -L$(LIBFFASN1_DIR) -lffasn1

all: hnbgw

hnbgw: hnbgw.o hnbgw_hnbap.o hnbap.o
	$(CC) $(LDFLAGS) -o $@ $^

%.o: %.c
	$(CC) $(CFLAGS) -o $@ -c $^

clean:
	@rm -f hmbgw *.o