forked from lda/telodendria
Build improvements so we can easily port to more platforms.
This commit is contained in:
parent
648ce5c4cc
commit
14c79a901a
2 changed files with 1 additions and 2 deletions
|
@ -79,7 +79,7 @@ recipe_build() {
|
|||
obj=$(echo "$src" | sed -e 's/^src/build/' -e 's/\.c$/\.o/')
|
||||
objs="$objs $obj"
|
||||
|
||||
if [ $(mod_time "$src") -gt $(mod_time "$obj") ]; then
|
||||
if [ $(mod_time "$src") -ge $(mod_time "$obj") ]; then
|
||||
echo "CC $obj"
|
||||
obj_dir=$(dirname "$obj")
|
||||
mkdir -p "$obj_dir"
|
||||
|
|
|
@ -9,4 +9,3 @@ makewhatis "$(pwd)/man"
|
|||
export PATH="$(pwd)/tools/bin:$PATH"
|
||||
export MANPATH="$(pwd)/man:$MANPATH"
|
||||
|
||||
PS1="(td) $PS1"
|
||||
|
|
Loading…
Reference in a new issue