1# $OpenBSD: Makefile,v 1.10 2022/02/18 10:52:32 visa Exp $ 2 3.if ${MACHINE} == "amd64" || ${MACHINE} == "arm64" || \ 4 ${MACHINE} == "armv7" || ${MACHINE} == "i386" || \ 5 ${MACHINE} == "macppc" || ${MACHINE} == "riscv64" 6 7PROG= gpioctl 8SRCS= gpioctl.c 9 10CFLAGS+=-Wall 11CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes 12CFLAGS+=-Wmissing-declarations 13CFLAGS+=-Wshadow -Wpointer-arith -Wcast-qual 14 15.else 16 17NOPROG= yes 18 19.endif 20 21MAN= gpioctl.8 22MANSUBDIR=amd64 arm64 armv7 i386 macppc riscv64 23 24.include <bsd.prog.mk> 25