Build improvements so we can easily port to more platforms.

This commit is contained in:
Jordan Bancino 2022-10-15 12:45:21 -04:00
parent 648ce5c4cc
commit 14c79a901a
2 changed files with 1 additions and 2 deletions

View file

@ -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"

View file

@ -9,4 +9,3 @@ makewhatis "$(pwd)/man"
export PATH="$(pwd)/tools/bin:$PATH"
export MANPATH="$(pwd)/man:$MANPATH"
PS1="(td) $PS1"