Makefile
author Tero Marttila <terom@fixme.fi>
Fri, 06 Jun 2008 18:35:46 +0300
changeset 11 082bfaf38cf0
parent 10 9daa832ab9c4
child 12 43297144f196
permissions -rw-r--r--
* massive structural rewrite. Split off code into several new modules (render, render_png, render_local) and updated new modules to use them.
* the beginnings of render_multi, really not done yet

committer: Tero Marttila <terom@fixme.fi>
LDFLAGS = -Llib/libevent-dev/lib -levent -lpng
CFLAGS = -Wall -g -Ilib/libevent-dev/include

EXECS = render_file web_main render_node

all: render_file render_node web_main

common.o: common.c common.h
http.o: http.c http.h
remote_node.o: remote_node.c remote_node.h
remote_pool.o: remote_pool.c remote_pool.h
render.o: render.c render.h
render_remote.o: render_remote.c render_remote.h
render_png.o: render_png.c render_png.h
render_local.o: render_local.c render_local.h

render_file.o: render_file.c
render_node.o: render_node.c
web_main.o: web_main.c

render_file: render_file.o common.o render.o render_png.o render_local.o mandelbrot.o
render_node: render_node.o common.o render.o render_png.o render_local.o mandelbrot.o
web_main: web_main.o common.o http.o render.o remote_node.o remote_pool.o render_remote.o

clean :
	rm *.o ${EXECS}