e97010f0fa2547bbcb596c63d44657b70f083355
[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 clean:
12         rm -f libtime.a *.o test .depend
13
14 depend: .depend
15
16 .depend:
17         ../build_tools/mkdep $(CFLAGS) *.c
18
19 test: test.c
20         ${CC} ${CFLAGS} -o test test.c
21
22 ifneq ($(wildcard .depend),)
23 include .depend
24 endif