-
Notifications
You must be signed in to change notification settings - Fork 362
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
provide link information for make #3
Comments
So you want the user to add an What's the difference of adding the line:
at the top of the Makefile ? IMHO the second solution is more flexible (ie. it can be embedded easily in an existing |
ocp-get could just copy a local copy of Makefile.ocp-get into the sources directory for each package. That sounds much easier to implement. |
You're right. But in case you are building a program, with your solution you have to manually build the list of transitive dependencies, ie. if
This can become very cumbersome for projects having a lot of dependencies (and it will break each time someone adds a dependency to a project you depend on). How do you solve this ? |
|
Since most packages can use make to build themselves, ocp-get should maintain a "Makefile.ocp-get" with one line per package:
extlib_DIR='directory where extlib has been installed'
Packages can use this information directly in their Makefiles.
This should be done before opam-config.
The text was updated successfully, but these errors were encountered: