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

Improved Makefile #48

Merged
merged 2 commits into from Oct 15, 2012
Merged

Improved Makefile #48

merged 2 commits into from Oct 15, 2012

Conversation

craigbarnes
Copy link
Contributor

Hey, sorry for the mail spam. This is a rebased version of my last 2 (closed) pull requests.

  • Remove -c from CFLAGS and hard-code it into the recipe -- failing to include -c when overriding CFLAGS via the command-line shouldn't invoke the linker on object files
  • Use real target names for library files instead of phony targets
  • Add install and install-shared targets (closes Improve Makefile #14)
  • Use $(OBJECTS) instead of *.o
  • Use .PHONY to properly mark phony targets

* Remove "-c" from CFLAGS and hard-code it into the recipe -- CFLAGS
  should be overridable from the command-line but not including "-c"
  should never invoke the linker on object files
* Use real target names for library files instead of phony targets
* Add install and install-shared targets
* Use $(OBJECTS) instead of *.o
* Use .PHONY to properly mark phony targets
@akhleung
Copy link

Thanks for the help! Makefiles are not exactly our forte. I'll merge this in when I'm at my dev machine.

akhleung pushed a commit that referenced this pull request Oct 15, 2012
@akhleung akhleung merged commit ae6c58e into sass:master Oct 15, 2012
thatguystone pushed a commit to thatguystone/libsass that referenced this pull request May 10, 2018
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.

Improve Makefile
2 participants