![kpfleming](/assets/img/avatar_default.png)
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
30 lines
342 B
Makefile
30 lines
342 B
Makefile
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
|