Completely refactor install targets
[senf.git] / Scheduler / SConscript
index 012f69e..fe44ea8 100644 (file)
@@ -5,12 +5,9 @@ import SENFSCons
 
 ###########################################################################
 
-sources = SENFSCons.GlobSources()
-SENFSCons.StandardTargets(env)
-
-SENFSCons.Lib(env,
-             library = 'Scheduler',
-             sources = sources,
-             LIBS = [ 'Logger', 'Scheduler', 'Console', 'Utils' ])
+sources, includes = SENFSCons.Glob(env)
 
+SENFSCons.StandardTargets(env)
+SENFSCons.Lib(env, sources)
 SENFSCons.Doxygen(env)
+SENFSCons.InstallIncludeFiles(env, includes)