Fix example build
[senf.git] / Examples / Sniffer / SConscript
index 20e23b7..458ed89 100644 (file)
@@ -1,7 +1,11 @@
+# -*- python -*-
+
 Import('env')
 import SENFSCons
 
 ###########################################################################
 
-SENFSCons.Binary(env, 'sniffer', SENFSCons.GlobSources(env))
+sources, tests, includes = SENFSCons.Glob(env)
+
+env.Alias('examples', env.Program('sniffer', sources + [ '${LOCALLIBDIR}/AllBundles.o' ]))
 SENFSCons.Doxygen(env)