CC=gcc CFLAGS=-lgpiod TARGET=io all: $(TARGET) $(TARGET): io.c $(CC) -o $(TARGET) io.c $(CFLAGS) run: ./$(TARGET) clean: rm -f $(TARGET)