aboutsummaryrefslogtreecommitdiffstats
path: root/stdtime/Makefile
blob: 927f07dedcbfd22606fd5d58266c3e0eaf18e7b9 (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
CC=gcc
#CFLAGS=-Wall
INCLUDE=-I../include

OBJS=localtime.o

all: libtime.a

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

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

depend: .depend

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

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

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