Premier commit - Structure des fichiers
This commit is contained in:
commit
107cef8edd
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
_build
|
||||||
|
pieuvre
|
||||||
|
main.native
|
||||||
17
Makefile
Normal file
17
Makefile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
all: pieuvre
|
||||||
|
|
||||||
|
pieuvre: *.ml *.mll *.mly
|
||||||
|
ocamlbuild -yaccflag -v -lib unix main.native
|
||||||
|
ln -f -s main.native pieuvre
|
||||||
|
chmod +x pieuvre
|
||||||
|
|
||||||
|
main.byte:
|
||||||
|
ocamlbuild -yaccflag -v main.byte
|
||||||
|
|
||||||
|
byte: main.byte
|
||||||
|
|
||||||
|
.PHONY: clean test
|
||||||
|
|
||||||
|
clean:
|
||||||
|
ocamlbuild -clean
|
||||||
|
rm -f pieuvre
|
||||||
0
parser.mly
Normal file
0
parser.mly
Normal file
0
pieuvre.ml
Normal file
0
pieuvre.ml
Normal file
Loading…
x
Reference in New Issue
Block a user