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

Build an .a library by default; and support make install #3

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

Conversation

tkchia
Copy link

@tkchia tkchia commented Jul 3, 2020

This patch makes a few small changes to the makefile, to hopefully make the library easier to use.

  • The makefile will now by default also build a libminx86dec.a library containing the various library modules.
  • (I have not yet changed the linking of decode8086, decode286, etc. But it should also be possible to link them with the .a file rather than the separate .o modules.)
  • I also added an install make rule, so that make install will install the library and header files to a suitable destination location (/usr/local/ on default). A user can then say gcc ... -lminx86dec to link their program with the library.

Thank you!

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