Allow CFLAGS to be set in /etc/mk.conf
This commit is contained in:
parent
30cc2d95cb
commit
3740dde63b
|
@ -2,11 +2,12 @@ PROG= raidctl
|
|||
SRCS= rf_configure.c rf_layout.c rf_strutils.c raidctl.c
|
||||
MAN= raidctl.8
|
||||
|
||||
CFLAGS += -Wall
|
||||
CWARNFLAGS += -Wall
|
||||
|
||||
LOOKHERE = ${.CURDIR}/../../sys/dev/raidframe
|
||||
|
||||
CFLAGS+= -DCSRG_BASED -DNARROWPROTO -DRF_UTILITY=1 -DSIMULATE=1 -I${LOOKHERE}
|
||||
COPTS+= -DCSRG_BASED -DNARROWPROTO -DRF_UTILITY=1 -DSIMULATE=1
|
||||
CPPFLAGS+= -I${LOOKHERE}
|
||||
.PATH: ${LOOKHERE}
|
||||
|
||||
DPADD= ${LIBUTIL}
|
||||
|
|
Loading…
Reference in New Issue