2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-06 20:30:54 +00:00
qpdf/zlib-flate/build.mk
Jay Berkenbilt caa397ed15 generalize build rules, add experimental support for manual compilation without libtool
git-svn-id: svn+q:///qpdf/trunk@753 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-10 14:15:09 +00:00

23 lines
556 B
Makefile

TARGETS_zlib-flate = \
zlib-flate/$(OUTPUT_DIR)/$(call binname,zlib-flate)
$(TARGETS_zlib-flate): $(TARGETS_libqpdf)
INCLUDES_zlib-flate = include
SRCS_zlib-flate = zlib-flate/zlib-flate.cc
# -----
OBJS_zlib-flate = $(call src_to_obj,$(SRCS_zlib-flate))
ifeq ($(GENDEPS),1)
-include $(call obj_to_dep,$(OBJS_zlib-flate))
endif
$(OBJS_zlib-flate): zlib-flate/$(OUTPUT_DIR)/%.o: zlib-flate/%.cc
$(call compile,$<,$(INCLUDES_zlib-flate))
zlib-flate/$(OUTPUT_DIR)/$(call binname,zlib-flate): $(OBJS_zlib-flate)
$(call makebin,$(OBJS_zlib-flate),$@)