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:
|
|
|
|
|
2003-09-27 02:32:30 +00:00
|
|
|
clean:
|
2003-11-05 06:19:41 +00:00
|
|
|
rm -f libtime.a *.o test .depend
|
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:
|
|
|
|
../mkdep $(CFLAGS) *.c
|
|
|
|
|
|
|
|
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
|