Fix EXCFLAGS in the /cmd directory.

This commit is contained in:
Kris Maglione 2007-04-22 00:05:05 -04:00
parent f620e46171
commit 4b9fc7ab1f
2 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,8 @@ FILTER = sed "s|CONFPREFIX|${ETC}|g; \
s|CONFVERSION|${CONFVERSION}|g; \
s|P9PATHS|${P9PATHS}|g; \
s|AWKPATH|${AWKPATH}|g"
EXCFLAGS = -DVERSION=\"${VERSION}\"
EXCFLAGS = ${INCX11} -DVERSION=\"${VERSION}\"
include ${ROOT}/mk/many.mk
include ${ROOT}/mk/dir.mk
@ -25,6 +26,5 @@ OWMIIR=wmiir.o ${OFILES} ${LIBIXP}
wmiir.O: ${OWMIIR}
${LINK} $@ ${STATIC} ${OWMIIR}
EXCFLAGS=${INCX11}
wmii9menu.O: wmii9menu.o ${OFILES}
${LINK} $@ $*.o ${OFILES} ${LIBX11}

View File

@ -7,6 +7,7 @@ outfile="$1"; shift
xtmp=/tmp/cc.$$.$USER.out
echo CC ${BASE}$outfile
echo $CC -o $outfile $CFLAGS $@ 2>$xtmp
$CC -o $outfile $CFLAGS $@ 2>$xtmp
status=$?