]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Add utility targets [skip ci]
authorJérémie Astor <fennecdjay@gmail.com>
Sat, 29 May 2021 14:00:53 +0000 (16:00 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Sat, 29 May 2021 14:01:00 +0000 (16:01 +0200)
Makefile

index 90fcd1c1cc327ef1f46af338e99adcf8c0add50f..1aef858825a53785db0d7fb56be7e095f5ce588c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -101,6 +101,19 @@ gwion-fuzz:
 clean_core:
        @rm -f core.* *vgcore.*
 
+clean-all:
+               ${MAKE} -s -C libcmdapp clean
+               ${MAKE} -s -C fmt clean
+               ${MAKE} -s -C ast clean
+               ${MAKE} -s -C ast/libprettyerr clean
+               ${MAKE} -s -C util clean
+               ${MAKE} -s -C util/libtermcolor clean
+
+update: clean-all
+       git pull
+       git submodule update --recursive --init
+       make
+
 .PHONY: .afl
 
 clean: clean_core