2003-09-27 02:32:30 +00:00
|
|
|
OBJS=localtime.o
|
2003-09-13 20:51:48 +00:00
|
|
|
|
2003-09-27 02:32:30 +00:00
|
|
|
all: libtime.a
|
2003-09-13 20:51:48 +00:00
|
|
|
|
2003-09-27 02:32:30 +00:00
|
|
|
libtime.a: $(OBJS)
|
|
|
|
ar rv $@ $(OBJS)
|
|
|
|
ranlib $@
|
2003-09-13 20:51:48 +00:00
|
|
|
|
2003-10-25 17:56:14 +00:00
|
|
|
install:
|
|
|
|
|
2006-02-01 18:39:41 +00:00
|
|
|
uninstall:
|
|
|
|
|
2006-02-12 16:52:42 +00:00
|
|
|
clean-depend:
|
|
|
|
rm -f .depend
|
|
|
|
|
|
|
|
clean: clean-depend
|
|
|
|
rm -f libtime.a *.o test
|
2003-09-13 20:51:48 +00:00
|
|
|
|
2003-09-27 02:32:30 +00:00
|
|
|
depend: .depend
|
2003-09-13 20:51:48 +00:00
|
|
|
|
2003-09-27 02:32:30 +00:00
|
|
|
.depend:
|
2005-06-20 17:26:08 +00:00
|
|
|
../build_tools/mkdep $(CFLAGS) *.c
|
2003-09-27 02:32:30 +00:00
|
|
|
|
|
|
|
test: test.c
|
|
|
|
${CC} ${CFLAGS} -o test test.c
|
2003-09-13 20:51:48 +00:00
|
|
|
|
2003-09-27 02:32:30 +00:00
|
|
|
ifneq ($(wildcard .depend),)
|
|
|
|
include .depend
|
|
|
|
endif
|