diff options
| author | Peter Sewell | 2017-02-03 14:54:22 +0000 |
|---|---|---|
| committer | Peter Sewell | 2017-02-03 14:54:22 +0000 |
| commit | fb8ca50af3bb9392b66505b28ba718c90f8ab0ab (patch) | |
| tree | 5a5d7cec06bfa752633bb1cf173594c444883b07 /Makefile | |
| parent | d8041f29ad728320ca763ff3852508b617592b1a (diff) | |
fix headers
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 31 |
1 files changed, 17 insertions, 14 deletions
@@ -1,15 +1,7 @@ -.PHONY: all sail language clean archs +.PHONY: all sail language clean archs apply_header all: sail interpreter -apply_header: - $(MAKE) clean - headache -c etc/headache_config -h etc/mips_header `ls mips/*.sail` - headache -c etc/headache_config -h etc/mips_header `ls cheri/*.sail` - headache -c etc/headache_config -h src/LICENCE `ls src/*.{ml,mli,nll,mly}` - headache -c etc/headache_config -h src/LICENCE `ls src/lem_interp*.{ml,mli,lem}` - $(MAKE) -C arm apply_header - sail: $(MAKE) -C src ln -f -s src/sail.native sail @@ -20,13 +12,24 @@ language: interpreter: $(MAKE) -C src interpreter +archs: + for arch in arm mips cheri; do\ + $(MAKE) -C "$$arch" || exit;\ + done + +apply_header: + $(MAKE) clean + headache -c etc/headache_config -h etc/mips_header `ls mips/*.sail` + headache -c etc/headache_config -h etc/mips_header `ls cheri/*.sail` + headache -c etc/headache_config -h src/LICENCE `ls src/Makefile*` + headache -c etc/headache_config -h src/LICENCE `ls src/*.ml*` + headache -c etc/headache_config -h src/LICENCE `ls src/lem_interp/*.ml` + headache -c etc/headache_config -h src/LICENCE `ls src/lem_interp/*.lem` + $(MAKE) -C arm apply_header + clean: for subdir in src arm ; do\ $(MAKE) -C "$$subdir" clean;\ done - rm sail + -rm sail -archs: - for arch in arm mips cheri; do\ - $(MAKE) -C "$$arch" || exit;\ - done |
