1 2 3 4 5 6 7 8 9 10 11 12
NAME = calc_spi_scalers CC = gcc CFLAGS = -std=c99 -Wall SRC = $(wildcard *.c) .PHONY: all clean all: $(CC) $(CFLAGS) -o $(NAME) $(SRC) clean: rm -f $(NAME)