Enlightenment CVS committal

Author  : cedric
Project : e17
Module  : proto/eina

Dir     : e17/proto/eina


Modified Files:
        Makefile.am 


Log Message:
To benchmark eina hash implementation, just call: make benchmark.


===================================================================
RCS file: /cvs/e/e17/proto/eina/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 1 Aug 2008 13:03:00 -0000       1.3
+++ Makefile.am 6 Aug 2008 15:59:13 -0000       1.4
@@ -70,7 +70,7 @@
        @make lcov-report
 
 clean-local:
-       @rm -rf coverage
+       @rm -rf coverage benchmark
 else
 lcov-reset:
        @echo "reconfigure with --enable-coverage"
@@ -80,4 +80,17 @@
 
 coverage:
        @echo "reconfigure with --enable-tests --enable-coverage"
+endif
+
+if EINA_ENABLE_BENCH
+
+benchmark:
+       @make -C src bench
+       @mkdir result || true
+       @cd result && ../src/tests/eina_bench `date +%F_%T`
+
+else
+
+bench:
+       @echo "reconfigure with --enable-bench"
 endif



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to