Diff of /LIME-examples/Makerules [r23] .. [r24]  Maximize  Restore

Switch to side-by-side view

--- a/LIME-examples/Makerules
+++ b/LIME-examples/Makerules
@@ -1,4 +1,8 @@
 ##################################################################
+# Common rules for all example programs
+#
+#Copyright 2008 Pjotr Kourzanov
+#
 #This file is part of LIME.
 #
 #LIME is free software: you can redistribute it and/or modify
@@ -13,31 +17,30 @@
 #You should have received a copy of the GNU General Public License
 #along with LIME.  If not, see <http://www.gnu.org/licenses/>.
 ##################################################################
-##################################################################
-#This file is part of LIME.
-#
-#LIME is free software: you can redistribute it and/or modify
-#it under the terms of the GNU General Public License version 2
-#as published by the Free Software Foundation.
-#
-#LIME is distributed in the hope that it will be useful,
-#but WITHOUT ANY WARRANTY; without even the implied warranty of
-#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#GNU General Public License for more details.
-#
-#You should have received a copy of the GNU General Public License
-#along with LIME.  If not, see <http://www.gnu.org/licenses/>.
-##################################################################
-MAKEFLAGS = s
+ifeq ($(VERBOSE),)
+MAKEFLAGS=-s
+endif
 
-all: 
-	@$r/dom/$d/bin/slimer -m -i -d $(comp_src) -- $(headers) -- $(graphs) >/dev/null
+all::
+	$r/dom/$d/bin/slimer -i -d $(components) -- $(headers) -- $(graphs)
 
-clean: 
-	@$r/dom/$d/bin/slimer -m -i -d -c $(comp_src) -- $(headers) -- $(graphs) >/dev/null
+clean:: cleanup
+	$r/dom/$d/bin/slimer -i -d -c $(components) -- $(headers) -- $(graphs)
 
-distclean: clean
-	rm -f *.div
+distclean: cleanup
+	$r/dom/$d/bin/slimer -i -d -C $(components) -- $(headers) -- $(graphs)
+
+cleanup::
+	rm -f *-full.dot
 
 ppurge:
-	@hg purge -p .
+	hg purge -p .
+
+export PATH:=$(PATH):$r/bin
+
+%-full.dot: %.gxf
+	gxfdump -vrelax=1 -vOP=dot -vnode_detail=1 -vedge_detail=1 $< >$@
+
+%.graph.xml: %.graph
+	en2xml $< >$@ || rm $@
+

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks