Makefile
author Tero Marttila <terom@fixme.fi>
Sat, 07 Jun 2008 05:05:18 +0300
changeset 13 ee426f453cf5
parent 12 43297144f196
child 15 e7f0697814dc
permissions -rw-r--r--
* fix some (of the) stupid things in Makefile
* increment remote_node->current_load in remote_pool_get
* re-add render_init
* add render_raw module to handle non-PNG rendering
* update render_local to support RENDER_RAW
* working (but limited and inefficient) implementation of render_multi
* fixes to render_png
* improve/clean up render_remote
* mark internal function static
* make web_main use render_multi
* random bugfixes (possibly due to vim acting weird re file recovery post-crash)

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: web_main file_main node_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_raw.o: render_raw.c render_raw.h
render_local.o: render_local.c render_local.h
render_multi.o: render_multi.c render_multi.h
render_mandelbrot.o: render_mandelbrot.c render_mandelbrot.h

file_main.o: file_main.c
node_main.o: node_main.c
web_main.o: web_main.c

file_main: file_main.o common.o render.o render_raw.o render_png.o render_local.o render_mandelbrot.o
node_main: node_main.o common.o render.o render_raw.o render_png.o render_local.o render_mandelbrot.o
web_main: web_main.o common.o http.o render.o render_png.o remote_node.o remote_pool.o render_remote.o render_multi.o

clean :
	rm *.o ${EXECS}