Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Raphaël Cauderlier
Sigmaid
Commits
532b50f3
Commit
532b50f3
authored
Jun 28, 2014
by
Raphaël Cauderlier
Browse files
Generalize compilation of ocaml files
parent
d6561362
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
532b50f3
...
...
@@ -3,5 +3,5 @@
.depend
tmp.dk
_build/
sigmaid
.native
*
.native
test.dk
Makefile
View file @
532b50f3
...
...
@@ -3,10 +3,13 @@ DKS = $(wildcard *.dk)
DKOS
=
$(DKS:.dk=.dko)
.PHONY
:
clean depend
.SUFFIXES
:
.dk .dko
.SUFFIXES
:
.dk .dko
.ml .native
.dk.dko
:
dkcheck
-e
-nc
-r
$<
.ml.native
:
ocamlbuild
-use-menhir
$@
all
:
$(DKOS) sigmaid.native
depend
:
.depend
...
...
@@ -14,10 +17,7 @@ depend: .depend
dkdep pts.dk dk_
*
.dk
>
.depend
clean
:
rm
-f
*
.dko .depend tmp.dk test.dk sigmaid.native
sigmaid.native
:
ocamlbuild
-use-menhir
sigmaid.native
rm
-rf
*
.dko .depend tmp.dk test.dk sigmaid.native _build
test.dk
:
sigmaid.native
./sigmaid.native test.sigma
>
test.dk
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment