]> rtime.felk.cvut.cz Git - omk.git/blobdiff - Makefile
RTEMS rules: provide support to build application with symbols exported.
[omk.git] / Makefile
index ef2541eda365d3d33f6f9fdca9c9357ab1d360c3..8723c86903c0c3af5f2c0d0f9cddbed06b2a6948 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,10 @@
 all: buildrules
 
 buildrules:
-       chmod +x omkbuild.py
-       ./omkbuild.py --all
+       $(MAKE) -C snippets $@
 
 split:
-       chmod +x omkbuild.py
-       cd snippets; ../omkbuild.py --split=../Makefile.rules
+       $(MAKE) -C snippets $@ RULES_TO_SPLIT=../Makefile.rules
 
 test tests:
        $(MAKE) -C tests
@@ -27,6 +25,9 @@ release: tag-check doc buildrules
        for i in $(RELEASE_DIR)/rules/*; do cp leaf-makefile/Makefile $$i; done
        mkdir -p $(RELEASE_DIR)/doc
        cp -a doc/omk-manual.txt doc/omk-manual.html doc/omk-manual.pdf $(RELEASE_DIR)/doc
+       cp --dereference doc/RelNotes.txt $(RELEASE_DIR)/doc
+       mkdir -p $(RELEASE_DIR)/bin
+       cp -a omk $(RELEASE_DIR)/bin
        cp COPYING $(RELEASE_DIR)
        tar czf $(RELEASE_DIR).tar.gz $(RELEASE_DIR)
        rm -rf $(RELEASE_DIR)