summaryrefslogtreecommitdiff
path: root/c/Makefile
blob: 14c05c7babee89abb3c2b9e6d02d015a02cd2db4 (plain) (blame)
1
2
3
4
5
%: %.c
	gcc -oz -Wall -Wextra -pedantic $< -o $@

power: power.c
	gcc -Wall -Werror -pedantic $(shell pkg-config --cflags --libs dbus-1) -lm power.c -o power