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
|
||||
#CFLAGS=-Wall
|
||||
INCLUDE=-I../include
|
||||
|
||||
all: localtime.o
|
||||
OBJS=localtime.o
|
||||
|
||||
clean::
|
||||
rm -f localtime.o test
|
||||
all: libtime.a
|
||||
|
||||
depend::
|
||||
@echo "Nothing to do for depend"
|
||||
libtime.a: $(OBJS)
|
||||
ar rv $@ $(OBJS)
|
||||
ranlib $@
|
||||
|
||||
test: test.c
|
||||
${CC} ${CFLAGS} -o test test.c
|
||||
clean:
|
||||
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