summaryrefslogtreecommitdiff
path: root/channels/misdn/Makefile
blob: 96d5a2a3d2ea364ed2d0c3aeaca491ea8eca8c8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# Makefile for chan_misdn support
#
ifneq ($(wildcard /usr/include/linux/mISDNdsp.h),)
CFLAGS+=-DMISDN_1_2
endif

all:

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

portinfo: portinfo.o
	$(CC) -o $@ $^ -lisdnnet -lmISDN -lpthread

clean:
	rm -rf *.a *.o *.so portinfo *.i *.gcda *.gcno