Skip to content

fix Makefile for custom PREFIX support#64

Open
yingxingcheng wants to merge 1 commit intooptados-developers:developfrom
yingxingcheng:fix-makefile
Open

fix Makefile for custom PREFIX support#64
yingxingcheng wants to merge 1 commit intooptados-developers:developfrom
yingxingcheng:fix-makefile

Conversation

@yingxingcheng
Copy link

Pull Request Summary

This PR fixes the Makefile installation logic to correctly support custom PREFIX values.
It avoids copying files to the same path (which previously caused errors when the source and destination were identical) and ensures that binaries are installed to the specified directory unambiguously.

Other changes include:

  • Fixed the veryclean target in the python/Makefile to prevent accidental deletion of OptaPyDOS.py, which is likely required.
  • Added a .gitignore file to exclude intermediate files generated by make all, including files related to TEX in documents and the build.f90 file in src.

These changes improve installation flexibility and development cleanliness.

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

Comments