removed the misdn Makefile target from channels/misdn/Makefile in favour of a short...
[asterisk/asterisk.git] / channels / misdn / Makefile
1 #
2 # Makefile
3 #
4 # Make file for chan_misdn support
5 #
6
7 # Verify those options with main Makefile
8 CFLAGS          = -pipe -c -Wall
9 ifeq ($(shell uname -m),x86_64)
10 CFLAGS         += -fPIC
11 endif
12 SOURCES         = isdn_lib.c isdn_msg_parser.c 
13 OBJDIR          = .
14 OBJS            = isdn_lib.o isdn_msg_parser.o fac.o
15
16 all: chan_misdn_lib.a 
17
18 %.o: %.c
19         $(CC) $(CFLAGS) -o $@ $<
20
21
22 chan_misdn_lib.a:       $(OBJS)
23         ar crv $@ $(OBJS)
24
25 clean: 
26         rm -rf *.a *.o *.so