diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 19:30:32 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 19:30:32 -0800 |
commit | 8b23a6c7e1aee255004dd19098d4c2462b61b849 (patch) | |
tree | 7a4d682ba51f0ff0364c5ca2509f515bdaf96de9 /distrib/zlib-1.2.3/Makefile | |
parent | f721e3ac031f892af46f255a47d7f54a91317b30 (diff) | |
download | external_qemu-8b23a6c7e1aee255004dd19098d4c2462b61b849.zip external_qemu-8b23a6c7e1aee255004dd19098d4c2462b61b849.tar.gz external_qemu-8b23a6c7e1aee255004dd19098d4c2462b61b849.tar.bz2 |
auto import from //depot/cupcake/@135843
Diffstat (limited to 'distrib/zlib-1.2.3/Makefile')
-rw-r--r-- | distrib/zlib-1.2.3/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/distrib/zlib-1.2.3/Makefile b/distrib/zlib-1.2.3/Makefile new file mode 100644 index 0000000..9cf80c9 --- /dev/null +++ b/distrib/zlib-1.2.3/Makefile @@ -0,0 +1,15 @@ +# Makefile used to compile zlib statically +# +ZLIB_LIB := $(SRC_PATH)/libz.a +ZLIB_CFLAGS := -I$(ZLIB_DIR) + +include $(ZLIB_DIR)/sources.make +ZLIB_OBJS := $(ZLIB_SOURCES:%.c=%.o) + +$(ZLIB_LIB): $(ZLIB_OBJS) + ar ru $(ZLIB_LIB) $(ZLIB_OBJS) + +$(ZLIB_OBJS): CFLAGS += $(ZLIB_CFLAGS) + +clean-zlib: + rm -f $(ZLIB_OBJS) $(zlib_lib) |