From 054a617a9375b835492368c3773315b09d3851ce Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Wed, 28 Jul 2010 23:03:16 +0200 Subject: Initial commit for mandelbrot. --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cc1fdb3 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +CC = gcc +CC_PARAMS = -O3 -Wall -Werror -fopenmp -c +C_SOURCES = graymap.c graymap_alleg.c paledit.c mandelbrot.c +OBJ = $(C_SOURCES:%.c=%.o) +LIBS = `allegro-config --libs` -lm -lgomp + +mandelbrot: $(OBJ) + $(CC) $(LIBS) -o mandelbrot $(OBJ) + +%.o:%.c + $(CC) $(CC_PARAMS) -o $@ $< + +doc: + if [ ! -d doc ]; then mkdir doc; fi + doxygen Doxyfile + +clean: + rm -r doc + rm $(OBJ) + rm mandelbrot -- cgit v1.2.3-70-g09d2