summaryrefslogtreecommitdiff
path: root/Makefile
blob: 3b6153c75d3b57d07f13d5036a9cefc1a68bed2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
OSMO_CFLAGS:=`pkg-config --cflags libosmocore`
OSMO_LDFLAGS:=`pkg-config --libs libosmocore`

CFLAGS=-g -Wall $(OSMO_CFLAGS)
LDFLAGS=$(OSMO_LDFLAGS)

all: hapc_test

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


hapc_test: hapc_test.o hapc_frame.o
	$(CC) $(LDFLAGS) -o $@ $^

clean:
	rm -f hapc_test *.o || true
personal git repositories of Harald Welte. Your mileage may vary