################################################################################
## Fractal set generation for quadratic maps.
## Copyright (C) 2011, Raúl Durán Díaz, raul.duran@uah.es
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
################################################################################
################################################################################
##
## 7.07.2005
##
## $Id: Makefile,v 1.2 2011/10/18 09:02:34 cvsmgr Exp $
## $Name: $
################################################################################
CC = gcc
CFLAGS = -O2 -std=c99 -pedantic -Wall -DDEBUG=$(DEBUG)
LDFLAGS = -lpng
DEBUG = 0
EXE = fractal fractalalpha fractal_00 fractal_l ReadPNGHdr \
fractal_esp1 fractal_esp2 fractal_esp3 \
fractal_esp5 fractal_esp6 fractal_esp7
%: %.o
$(CC) -o $@ $^ $(LDFLAGS)
%.o: %.c
$(CC) -c -o $@ $*.c $(CFLAGS)
all: $(EXE)
fractal: fractal.o genfractal.o mypng.o
fractal_l: fractal_l.o genfractal.o mypng.o
fractalalpha: fractalalpha.o genfractal.o mypng.o
fractal_00: fractal_00.o genfractal.o mypng.o
fractal_esp1: fractal_esp1.o genfractal.o mypng.o
fractal_esp2: fractal_esp2.o genfractal.o mypng.o
fractal_esp3: fractal_esp3.o genfractal.o mypng.o
fractal_esp5: fractal_esp5.o genfractal.o mypng.o
fractal_esp6: fractal_esp6.o genfractal.o mypng.o
fractal_esp7: fractal_esp7.o genfractal.o mypng.o
ReadPNGHdr: ReadPNGHdr.o mypng.o
fractal.o: fractal.c genfractal.h Makefile
fractal_00.o: fractal_00.c genfractal.h Makefile
fractal_l.o: fractal_l.c genfractal.h Makefile
fractalalpha.o: fractalalpha.c genfractal.h Makefile
ReadPNGHdr.o: ReadPNGHdr.c mypng.h Makefile
mypng.o: mypng.c mypng.h Makefile
genfractal.o: genfractal.c genfractal.h mypng.h mathutil.h Makefile
clean:
rm -f *.o $(EXE)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>