comparison rvinterf/Makefile @ 479:f2a040324509

Makefile hierarchy: CFLAGS override-ability actually works now The original version was broken in that CFLAGS=${CFLAGS} passing was done without quotes, which breaks as soon as there is a space in the user-set CFLAGS. Changing it to CFLAGS="${CFLAGS}" makes it work as originally intended.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 14 Feb 2019 04:59:23 +0000
parents 90d7c360a614
children ab20ff8156ea
comparison
equal deleted inserted replaced
478:6f804a5ff3bc 479:f2a040324509
14 lowlevel: libg23 14 lowlevel: libg23
15 rvtat: libinterf 15 rvtat: libinterf
16 tmsh: libasync libinterf 16 tmsh: libasync libinterf
17 17
18 ${SUBDIR}: FRC 18 ${SUBDIR}: FRC
19 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS=${CFLAGS} 19 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"
20 20
21 clean: FRC 21 clean: FRC
22 rm -f a.out core errs 22 rm -f a.out core errs
23 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done 23 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
24 24