-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (25 loc) · 798 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
DOC_DIRS ?= docs/Design docs/Design/MIS docs/Design/MG docs/Design/SRS Miscellaneous
LATEX_AUX_EXTENSIONS ?= aux fdb_latexmk fls log out synctex.gz toc blg bbl
all: run
buildDocs:
julia --project=@. docs/make.jl
precompile:
rm -f Manifest.toml
rm -f docs/Manifest.toml
julia -e "using Pkg; Pkg.activate(\"docs\"); Pkg.instantiate()"
julia -e "using Pkg; Pkg.activate(\".\"); Pkg.instantiate()"
run:
julia --project=@. src/vdisp.jl "run"
debug:
julia --project=@. src/vdisp.jl "debug"
test: FORCE
cd test && julia --project=@. runtests.jl
FORCE:
cleanOutput:
cd src/.data && rm output*.dat
cd test/testdata && rm test_output*.dat
cleanDocs:
for ext in $(LATEX_AUX_EXTENSIONS) ; do \
rm -f $(foreach dir, $(DOC_DIRS), $(dir)/*.$$ext) ; \
done
clean: cleanDocs cleanOutput