1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
all: javac -cp . Adjbacklight.java install: mkdir -p $(DESTDIR)$(PREFIX)/bin install -m 775 adjbacklight $(DESTDIR)$(PREFIX)/bin/ install -m 664 Adjbacklight.class $(DESTDIR)$(PREFIX)/bin/ uninstall: unlink $(DESTDIR)$(PREFIX)/bin/Adjbacklight.class unlink $(DESTDIR)$(PREFIX)/bin/adjbacklight clean: rm Adjbacklight.class