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