aboutsummaryrefslogtreecommitdiffstats
path: root/zlib-flate/build.mk
blob: 3a17f94e82a95e7dcaea5e25189d0bd0d8e0a8d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)/%.$(OBJ): zlib-flate/%.cc
	$(call compile,$<,$(INCLUDES_zlib-flate))

zlib-flate/$(OUTPUT_DIR)/$(call binname,zlib-flate): $(OBJS_zlib-flate)
	$(call makebin,$(OBJS_zlib-flate),$@,$(LDFLAGS) $(LDFLAGS_libqpdf),$(LIBS_libqpdf) $(LIBS))