Skip to content

Commit

Permalink
Recursive makefiles
Browse files Browse the repository at this point in the history
The idea is that agda should be run less often (make will check if files
changed)
  • Loading branch information
fredefox committed Feb 14, 2018
1 parent f48645a commit ac73e26
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
check:
agda src/Cubical/Everything.agda
agda examples/Cubical/Examples/Everything.agda
check: cubical cubical-examples

cubical:
make -C src

cubical-examples:
make -C examples
2 changes: 2 additions & 0 deletions examples/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
check: $(wildcard **/*.agda)
agda Cubical/Examples/Everything.agda
2 changes: 2 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
check: $(wildcard **/*.agda)
agda Cubical/Everything.agda

0 comments on commit ac73e26

Please sign in to comment.