[dev] [sbase]building

From: Evan Gates <evan.gates_AT_gmail.com>
Date: Wed, 19 Nov 2014 18:37:20 -0800

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

Received on Thu Nov 20 2014 - 03:37:20 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 20 2014 - 03:48:07 CET