c3a399c4ba
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
19 lines
316 B
Makefile
19 lines
316 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= camcontrol
|
|
SRCS= camcontrol.c util.c
|
|
.if !defined(RELEASE_CRUNCH)
|
|
SRCS+= modeedit.c
|
|
.else
|
|
CFLAGS+= -DMINIMALISTIC
|
|
.endif
|
|
# This is verboten
|
|
.if ${MACHINE_CPUARCH} == "arm"
|
|
WARNS?= 3
|
|
.endif
|
|
DPADD= ${LIBCAM} ${LIBSBUF} ${LIBUTIL}
|
|
LDADD= -lcam -lsbuf -lutil
|
|
MAN= camcontrol.8
|
|
|
|
.include <bsd.prog.mk>
|