summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bfbf6bef..9a6dd42a 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,17 @@ apply_header:
headache -c etc/headache_config -h LICENCE `ls src/lem_interp/*.lem`
$(MAKE) -C arm apply_header
+anon_dist:
+ $(MAKE) clean
+ headache -c etc/headache_config -h etc/anon_header `ls mips/*.sail`
+ headache -c etc/headache_config -h etc/anon_header `ls cheri/*.sail`
+ headache -c etc/headache_config -h etc/anon_header `ls src/Makefile*`
+ headache -c etc/headache_config -h etc/anon_header `ls src/*.ml*`
+ headache -c etc/headache_config -h etc/anon_header `ls src/lem_interp/*.ml`
+ headache -c etc/headache_config -h etc/anon_header `ls src/lem_interp/*.lem`
+ headache -c etc/headache_config -h etc/anon_header `ls arm/*.sail`
+ tar cvzf sail.tar.gz .
+
clean:
for subdir in src arm ; do\
$(MAKE) -C "$$subdir" clean;\