We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This method respect CFLAGS variable and is easier to use. Add this Makefile to root dir of project:
Makefile
CFLAGS_EXTRA ?= -Wall -fPIC -std=c99 -shared -O2 -I/usr/include/deadbeef PREFIX ?= $(HOME)/.local LIBDIR ?= /lib/deadbeef build: $(CC) $(CFLAGS) $(CFLAGS_EXTRA) rating.c -o rating.so clean: test -f rating.so && rm rating.so || true install: install -d "$(DESTDIR)$(PREFIX)$(LIBDIR)" install "rating.so" "$(DESTDIR)$(PREFIX)$(LIBDIR)/rating.so" uninstall: rm "$(DESTDIR)$(PREFIX)$(LIBDIR)/rating.so"
To do local instalation:
make make install
To do system/global instalation:
make make install PREFIX=/usr
To uninstall replace install with uninstall.
install
uninstall
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This method respect CFLAGS variable and is easier to use. Add this
Makefile
to root dir of project:To do local instalation:
To do system/global instalation:
To uninstall replace
install
withuninstall
.The text was updated successfully, but these errors were encountered: