diff options
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"; |