@superwhiskers/

ocaml.repl

polygott

No description

fork
loading
Files
  • Makefile
  • src
  • main
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# ocaml.repl
# repl.it but with ocaml
#

# get the root project directory
export root_dir := $(CURDIR)

# the source directory for your code
export source := $(root_dir)/src

#
# you shouldn't have to edit anything past here!
#

.PHONY: run
run:
	@ocamlopt -o $(root_dir)/main $(source)/*.ml
	@$(root_dir)/main