altos: product defines are always in ao_product.h
[fw/altos] / Makefile.am
index 8a061ab74dadf02c172ec9b21bf938e2a45cb9d2..e1ee30a38832eb62558b69c69f6c6784114fe236 100644 (file)
@@ -1 +1,19 @@
-SUBDIRS=lib ccload s51 ccmanual target/blink
+SUBDIRS=src doc altosui ao-tools ao-utils
+
+EXTRA_DIST = ChangeLog
+
+MAINTAINERCLEANFILES = ChangeLog
+
+.PHONY: ChangeLog
+
+ChangeLog:
+       (GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || \
+       (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
+
+dist-hook: ChangeLog
+
+fat:
+       cd src && $(MAKE) all
+       cd doc && $(MAKE) all
+       cd altosui/libaltos && $(MAKE) all
+       cd altosui && $(MAKE) fat