Merged revisions 377138 via svnmerge from
[asterisk/asterisk.git] / main / 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-depend:
14         rm -f .depend
15
16 clean: clean-depend
17         rm -f libtime.a *.o test *.i
18
19 depend: .depend
20
21 .depend:
22         ../build_tools/mkdep $(CFLAGS) *.c
23
24 test: test.c
25         ${CC} ${CFLAGS} -o test test.c
26
27 ifneq ($(wildcard .depend),)
28 include .depend
29 endif