mirror of http://gerrit.asterisk.org/asterisk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1568 65c4cc65-6c06-0410-ace0-fbb531ad65f31.0
parent
7d1dd00794
commit
d3369ceb9b
@ -1,19 +1,26 @@
|
|||||||
|
|
||||||
CC=gcc
|
CC=gcc
|
||||||
#CFLAGS=-Wall
|
#CFLAGS=-Wall
|
||||||
INCLUDE=-I../include
|
INCLUDE=-I../include
|
||||||
|
|
||||||
all: localtime.o
|
OBJS=localtime.o
|
||||||
|
|
||||||
clean::
|
all: libtime.a
|
||||||
rm -f localtime.o test
|
|
||||||
|
|
||||||
depend::
|
libtime.a: $(OBJS)
|
||||||
@echo "Nothing to do for depend"
|
ar rv $@ $(OBJS)
|
||||||
|
ranlib $@
|
||||||
|
|
||||||
test: test.c
|
clean:
|
||||||
${CC} ${CFLAGS} -o test test.c
|
rm -f libtime.a *.o test
|
||||||
|
|
||||||
localtime.o: localtime.c
|
depend: .depend
|
||||||
|
|
||||||
|
.depend:
|
||||||
|
../mkdep $(CFLAGS) *.c
|
||||||
|
|
||||||
|
test: test.c
|
||||||
|
${CC} ${CFLAGS} -o test test.c
|
||||||
|
|
||||||
|
ifneq ($(wildcard .depend),)
|
||||||
|
include .depend
|
||||||
|
endif
|
||||||
|
Loading…
Reference in new issue