Allows for user to uninstall asterisk binaries
[asterisk/asterisk.git] / stdtime / Makefile
1 OBJS=localtime.o
2
3 all: libtime.a
4
5 libtime.a: $(OBJS)
6         ar rv $@ $(OBJS)
7         ranlib $@
8
9 install:
10
11 uninstall:
12
13 clean:
14         rm -f libtime.a *.o test .depend
15
16 depend: .depend
17
18 .depend:
19         ../build_tools/mkdep $(CFLAGS) *.c
20
21 test: test.c
22         ${CC} ${CFLAGS} -o test test.c
23
24 ifneq ($(wildcard .depend),)
25 include .depend
26 endif