diff --git a/Makefile b/Makefile index 8b3039a..920dd56 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ all: applesmc backlight applesmc: applesmc.c Makefile gcc -DVERSION=\"$(VERSION)\" -Wall applesmc.c -o applesmc backlight: backlight.c Makefile - gcc -DVERSION=\"$(VERSION)\" -Wall backlight.c -o backlight -lpci -static + gcc -DVERSION=\"$(VERSION)\" -Wall backlight.c -o backlight -lpci install: backlight applesmc install -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(INITDIR) @@ -22,7 +22,7 @@ install: backlight applesmc install -d $(DESTDIR)$(SBIN) $(DESTDIR)$(SBINDIR) install -d $(DESTDIR)$(SYSCONFDIR)/sysconfig install -d $(DESTDIR)/lib/systemd/system - install -s -m 4755 applesmc $(DESTDIR)$(BINDIR) + install -s -m 0755 applesmc $(DESTDIR)$(BINDIR) install -s -m 4755 backlight $(DESTDIR)$(BINDIR) install -m 0755 macbook-set-input $(DESTDIR)$(BINDIR)/ install -m 0644 applesmcd.service $(DESTDIR)/lib/systemd/system/applesmcd.service