Last active
February 5, 2020 20:12
-
-
Save keleshev/17765cb0b81557e03d27fc4a4b91fcec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(executable | |
(public_name my_program)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(lang dune 1.11) | |
(name my_program) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: build install | |
ifeq ($(PREFIX),) | |
INSTALL_FLAGS= | |
else | |
INSTALL_FLAGS=--prefix=$(PREFIX) | |
endif | |
build: | |
dune build | |
install: build | |
dune install $(INSTALL_FLAGS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let () = print_endline "hi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Intentionally empty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment