c-exercises/Makefile

12 lines
220 B
Makefile

CFLAGS=-std=c99 -Wall -g
INDENTOPTS=-kr --no-tabs --braces-on-func-def-line --indent-level2
all: approximate-pi linked-list
clean:
rm -f approximate-pi linked-list *~
.PHONY: indent
indent:
indent $(INDENTOPTS) *.c