c-exercises/Makefile

12 lines
220 B
Makefile
Raw Normal View History

2013-05-10 14:32:21 +02:00
CFLAGS=-std=c99 -Wall -g
2013-05-09 19:32:02 +02:00
INDENTOPTS=-kr --no-tabs --braces-on-func-def-line --indent-level2
2013-05-09 19:18:10 +02:00
2013-05-10 14:32:21 +02:00
all: approximate-pi linked-list
clean:
2013-05-10 14:33:32 +02:00
rm -f approximate-pi linked-list *~
2013-05-09 19:32:02 +02:00
.PHONY: indent
indent:
indent $(INDENTOPTS) *.c