Minor fixes to build system.
This commit is contained in:
parent
5c3b5bf654
commit
0bedef0ca3
|
@ -15,7 +15,7 @@ then
|
||||||
MODIFIED=0
|
MODIFIED=0
|
||||||
for test in ${MONOLITHIC_TESTS} ${HDR} ${SRC}
|
for test in ${MONOLITHIC_TESTS} ${HDR} ${SRC}
|
||||||
do
|
do
|
||||||
if [ ${test} -nt ${CPPAPP} ]
|
if [ ${test} -nt ${APP} ]
|
||||||
then
|
then
|
||||||
MODIFIED=1
|
MODIFIED=1
|
||||||
break
|
break
|
||||||
|
|
|
@ -14,7 +14,14 @@ then
|
||||||
do
|
do
|
||||||
TEST="obj/tests/$(basename ${SRC} | sed -e 's,.cpp$,,')"
|
TEST="obj/tests/$(basename ${SRC} | sed -e 's,.cpp$,,')"
|
||||||
MODIFIED=0
|
MODIFIED=0
|
||||||
[ ${LIBOPT} -nt ${TEST} -o ${SRC} -nt ${TEST} ] && MODIFIED=1
|
for file in ${LIBCPP} ${SRC}
|
||||||
|
do
|
||||||
|
if [ ${file} -nt ${TEST} ]
|
||||||
|
then
|
||||||
|
MODIFIED=1
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
if [ ${MODIFIED} -ne 0 ]
|
if [ ${MODIFIED} -ne 0 ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue