4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-16 13:33:31 +08:00
bernard.xiong f908d62a40 move to components directory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@638 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 15:05:20 +00:00

28 lines
427 B
Makefile

RTGUI_ROOT=../..
include $(RTGUI_ROOT)/config.mk
SRC = adler32.c compress.c crc32.c deflate.c gzio.c infback.c inffast.c \
inflate.c inftrees.c trees.c uncompr.c zutil.c
OBJ = $(SRC:.c=.o)
LIB = libz.a
all: $(LIB)
$(LIB): $(OBJ)
$(AR) r $@ $?
$(RANLIB) $@
clean :
$(RM) *.o *~ *.bak
$(RM) $(LIB)
$(RM) .depend
dep : .depend
include .depend
.depend: $(SRC)
$(CC) $(CFLAGS) -M $^ > $@