aboutsummaryrefslogtreecommitdiffstats
path: root/sigtran/Makefile
blob: 06a8ba614aec3961ca3e1c5c248a01bb1bac5ef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
LDADD := -ltalloc -lsctp $(shell pkg-config --libs libosmo-sccp) $(shell pkg-config --libs libosmocore) $(shell pkg-config --libs libosmo-netif)
LDFLAGS += $(LDADD)
CFLAGS += -Wall

all: sua_client_test sua_server_test

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

sua_client_test: sccp_sap.o sua.o sua_client_test.o sua_test_common.o /usr/local/lib/libxua.a
	$(CC) $(LDFLAGS) -o $@ $^

sua_server_test: sccp_sap.o sua.o sua_server_test.o sua_test_common.o /usr/local/lib/libxua.a
	$(CC) $(LDFLAGS) -o $@ $^

clean:
	@rm *.o sua_client_test sua_server_test