more mandelbrot

This commit is contained in:
neingeist 2013-05-11 13:10:00 +02:00
parent 1e6f8726a6
commit cb4baa4479
2 changed files with 16 additions and 7 deletions

View file

@ -1,11 +1,16 @@
CFLAGS=-std=c99 -Wall -g
INDENTOPTS=-kr --no-tabs --braces-on-func-def-line --indent-level2
all: approximate-pi linked-list
.PHONY: all
all: approximate-pi linked-list mandelbrot
.PHONY: clean
clean:
rm -f approximate-pi linked-list *~
rm -f approximate-pi linked-list mandelbrot *~
.PHONY: indent
indent:
indent $(INDENTOPTS) *.c
mandelbrot: mandelbrot.c
$(CC) $(CFLAGS) $(shell sdl-config --cflags) -o $@ $< $(shell sdl-config --libs) -lm