diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-01-06 17:05:45 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-01-06 17:05:45 +0000 |
commit | 3c7e81d3baba06cb1bf37de84aeaa6cad277652a (patch) | |
tree | 166e9309a0be01e6b4e8591434372e4817a65d76 /share/autoinclude | |
parent | e809677b1d5a02b93a0be7a9fce8a6b67d0d91be (diff) | |
download | build-3c7e81d3baba06cb1bf37de84aeaa6cad277652a.tar.gz build-3c7e81d3baba06cb1bf37de84aeaa6cad277652a.tar.bz2 build-3c7e81d3baba06cb1bf37de84aeaa6cad277652a.tar.xz build-3c7e81d3baba06cb1bf37de84aeaa6cad277652a.zip |
Wow, ok, well, I added some more error handling, that's positive, also switched
conditions and functions to a plugger system like views, and all of them now
load builtin and external plugins flawlessly. It's actually a lot of fun.
I also added the example/test plugin condition "random" it randomly builds
targets...it's not really useful...
Diffstat (limited to 'share/autoinclude')
-rw-r--r-- | share/autoinclude/general-rules.bld | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/share/autoinclude/general-rules.bld b/share/autoinclude/general-rules.bld index 95a5e0c..9f905a6 100644 --- a/share/autoinclude/general-rules.bld +++ b/share/autoinclude/general-rules.bld | |||
@@ -66,6 +66,15 @@ rule "exe" | |||
66 | } | 66 | } |
67 | } | 67 | } |
68 | 68 | ||
69 | rule "so" | ||
70 | { | ||
71 | input "*.o"; | ||
72 | profile "build" | ||
73 | { | ||
74 | execute("${CXX} -shared -o ${OUTPUT} ${INPUT} ${LDFLAGS}"); | ||
75 | } | ||
76 | } | ||
77 | |||
69 | rule "lib" | 78 | rule "lib" |
70 | { | 79 | { |
71 | input "*.o"; | 80 | input "*.o"; |