1*6d591c46SLinus WalleijCC = $(CROSS_COMPILE)gcc 2*6d591c46SLinus WalleijCFLAGS += -Wall -g -D_GNU_SOURCE 3*6d591c46SLinus Walleij 4*6d591c46SLinus Walleijall: lsgpio 5*6d591c46SLinus Walleij 6*6d591c46SLinus Walleijlsgpio: lsgpio.o gpio-utils.o 7*6d591c46SLinus Walleij 8*6d591c46SLinus Walleij%.o: %.c gpio-utils.h 9*6d591c46SLinus Walleij 10*6d591c46SLinus Walleij.PHONY: clean 11*6d591c46SLinus Walleijclean: 12*6d591c46SLinus Walleij rm -f *.o lsgpio 13