more mandelbrot
parent
1e6f8726a6
commit
cb4baa4479
@ -1,11 +1,16 @@
|
|||||||
CFLAGS=-std=c99 -Wall -g
|
CFLAGS=-std=c99 -Wall -g
|
||||||
INDENTOPTS=-kr --no-tabs --braces-on-func-def-line --indent-level2
|
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:
|
clean:
|
||||||
rm -f approximate-pi linked-list *~
|
rm -f approximate-pi linked-list mandelbrot *~
|
||||||
|
|
||||||
.PHONY: indent
|
.PHONY: indent
|
||||||
indent:
|
indent:
|
||||||
indent $(INDENTOPTS) *.c
|
indent $(INDENTOPTS) *.c
|
||||||
|
|
||||||
|
mandelbrot: mandelbrot.c
|
||||||
|
$(CC) $(CFLAGS) $(shell sdl-config --cflags) -o $@ $< $(shell sdl-config --libs) -lm
|
||||||
|
Loading…
Reference in New Issue