Index: /trunk/Mars/Makefile
===================================================================
--- /trunk/Mars/Makefile	(revision 17305)
+++ /trunk/Mars/Makefile	(revision 17306)
@@ -90,4 +90,5 @@
 LIBRARIES := $(SUBDIRS:=.a)
 CONDOR    := $(SUBDIRS:=.condor)
+SGE       := $(SUBDIRS:=.sge)
 MRPROPERS := $(SUBDIRS:=.mrproper)
 CLEANERS  := $(SUBDIRS:=.clean)
@@ -161,4 +162,7 @@
 #	find -maxdepth 2 -name ".makecondor.*" -exec echo {}\\\; cat {}\\\; echo {}\\\; \;
 
+sge:	$(SGE)
+	make -j16 $(PROGRAMS)
+
 dox: $(SOLIB)
 	@echo
Index: /trunk/Mars/Makefile.rules
===================================================================
--- /trunk/Mars/Makefile.rules	(revision 17305)
+++ /trunk/Mars/Makefile.rules	(revision 17306)
@@ -18,4 +18,8 @@
 #         echo output=.makecondor.out; \
 #         echo error=.makecondor.err;  \
+
+$(SGE):
+	@echo " Starting make in $(@:.sge=) via sge"
+	(cd $(@:.sge=); qsub -N $@ -sync y -b yes -q test -cwd /bin/bash -l -c make; cd ..;)
 
 $(CLEANERS):
