Make all from top dir
authorJoseph Coffland <joseph@cauldrondevelopment.com>
Fri, 21 Jul 2017 22:30:56 +0000 (15:30 -0700)
committerJoseph Coffland <joseph@cauldrondevelopment.com>
Fri, 21 Jul 2017 22:30:56 +0000 (15:30 -0700)
Makefile

index 1f51761cb9999d38a2611a3eeeefd7cf4d8b26f1..c4710ab9458db7456caece9537e6da8225aabcf7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,16 @@ endif
 
 WATCH := src/jade src/jade/templates src/stylus src/js src/resources Makefile
 
-all: html css js static
+all: html css js static avr boot pwr
+
+avr:
+       $(MAKE) -C src/avr
+
+boot:
+       $(MAKE) -C src/boot
+
+pwr:
+       $(MAKE) -C src/pwr
 
 copy: pkg
        rsync $(RSYNC_OPTS) pkg/$(PKG_NAME)/ $(DEST)/bbctrl/
@@ -127,6 +136,9 @@ tidy:
 
 clean: tidy
        rm -rf build html dist
+       @$(MAKE) -C src/avr clean
+       @$(MAKE) -C src/boot clean
+       @$(MAKE) -C src/pwr clean
 
 dist-clean: clean
        rm -rf node_modules