added PacketType typedef to PPI-writer interface
[senf.git] / Makefile
index 532d737..f423bb5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,15 @@ all_docs all_tests all:
 %/build:
        $(SCONS) $*
 
+#----------------------------------------------------------------------
+# remote compile targets
+#----------------------------------------------------------------------
+JOBS := 1
 
+all@% all_docs@% all_test@% build@%:
+       ssh $* "cd `pwd` && $(MAKE) -j $(JOBS) $(firstword $(subst @, ,$@))"
+
+       
 #----------------------------------------------------------------------
 # test coverage
 #----------------------------------------------------------------------