As we recently found out POSIX make is lacking. For fun I started to
write a POSIX sh script to build sbase (attached and linked[0]). I
don't know if we should use it, but it's food for thought after the
recent pain (including requiring a GNU tool). If there's interest I
can finish fleshing it out. The idea is simple, if the source file is
newer than the object file, compile it. If the object file is newer
than the binary, link it. And throw the libraries in on top of that.
If you miss parallel building it's easy enough to add.
./build # will build all outdated binaries
./build clean # will clean
./build tool # will build only what's necessary to bring tool up to date
Enjoy,
emg
[0]
http://sprunge.us/Laei
- application/octet-stream attachment: build
Received on Thu Nov 20 2014 - 03:37:20 CET