Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve build system to detect available compilers #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dra27
Copy link
Member

@dra27 dra27 commented Apr 6, 2016

Refactor some configuration items from Makefile into a configure script and replace findwinsdk with msvs-detect from https://github.com/metastack/msvs-tools.

Add a configure script, detecting which compilers are available
(including ocamlopt) and adjust both CHAINS and the default Makefile
target accordingly.
CHAINS = mingw mingw64 cygwin cygwin64 msvc msvc64

# Compilers
ifeq ($(findstring clean,$(MAKECMDGOALS)),)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoids running configure if make [dist]clean is called twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant