From 3c7e81d3baba06cb1bf37de84aeaa6cad277652a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 6 Jan 2010 17:05:45 +0000 Subject: 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... --- share/autoinclude/general-rules.bld | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'share/autoinclude/general-rules.bld') 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" } } +rule "so" +{ + input "*.o"; + profile "build" + { + execute("${CXX} -shared -o ${OUTPUT} ${INPUT} ${LDFLAGS}"); + } +} + rule "lib" { input "*.o"; -- cgit v1.2.3