aboutsummaryrefslogtreecommitdiffstats
path: root/main/stdtime/Makefile
blob: cbe3c48f70d5bf39d66dacb167b9f1165916e015 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
OBJS=localtime.o

all: libtime.a

libtime.a: $(OBJS)
	ar rv $@ $(OBJS)
	ranlib $@

install:

uninstall:

clean-depend:
	rm -f .depend

clean: clean-depend
	rm -f libtime.a *.o test

depend: .depend

.depend:
	../build_tools/mkdep $(CFLAGS) *.c

test: test.c
	${CC} ${CFLAGS} -o test test.c

ifneq ($(wildcard .depend),)
include .depend
endif