2 exec_prefix = $(prefix)
3 bindir = $(exec_prefix)/bin
5 INSTALL_PROGRAM = $(INSTALL)
7 batteryviewer: batteryviewer.c
8 gcc $(shell pkg-config --cflags gtk4) -o $@ $< $(shell pkg-config --libs gtk4)
13 $(INSTALL_PROGRAM) batteryviewer $(bindir)/batteryviewer
18 .PHONY: all clean install