src/world/gzip/Makefile

17 lines
367 B
Makefile

# Makefile - hhl - /usr/src/world/gzip
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
#
distname = gzip
greps = $(bindir)/zgrep $(bindir)/zegrep $(bindir)/zfgrep
include world.mk
export CFLAGS = --sysroot=$(DESTDIR)
config_opts += --host=$(tgt)
define post_install
mv $(bindir)/gzip $(DESTDIR)/bin
rm -rf ${greps}
endef
include targets.mk