src/world/bin/mksh/Makefile

23 lines
547 B
Makefile

# Makefile - hhl - /usr/src/world/mksh
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
#
include ../../../config.mk
progname = mksh
skeldir = ${confdir}/skel
cflags += -fno-asynchronous-unwind-tables
cflags += -fno-strict-aliasing
cflags += -fstack-protector-strong
cflags += -Wall
cflags += -fwrapv
cflags += -fno-lto
cflags += -Wno-deprecated-declarations
ifeq (${arch},x86_64)
cflags += -malign-data=abi
endif
post_build = install -Dm644 dot.mkshrc ${DESTDIR}/etc/skel
include hhl.cprog.mk