18 lines
395 B
Makefile
18 lines
395 B
Makefile
# Makefile - hhl - /usr/src/world/usr.bin/bzip2
|
|
# Copyright 2021 Nathan Fisher <nfisher.sr@gmail.com>
|
|
#
|
|
progname = bzip2
|
|
ldflags += -lbz2
|
|
onestage = true
|
|
include hhl.cprog.mk
|
|
|
|
scripts = $(bindir)/bzdiff $(bindir)/bzgrep $(bindir)/bzmore
|
|
|
|
install: $(scripts) $(bindir)/bzcmp
|
|
|
|
$(bindir)/%: scripts/% $(binprog)
|
|
install -m755 $< $@
|
|
|
|
$(bindir)/bzcmp: $(bindir)/bzdiff
|
|
ln -s bzdiff $@
|