* rename files, render_file -> file_main, render_node -> node_main, mandelbrot -> render_mandelbrot
* make the error message stuff in common a /lot/ neater (a single function and a set of macros)
* clean up rest of code to use those new macros
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 render_web
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_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
render_file: file_main.o common.o render.o render_png.o render_local.o render_mandelbrot.o
render_node: node_main.o common.o render.o render_png.o render_local.o render_mandelbrot.o
render_web: web_main.o common.o http.o render.o remote_node.o remote_pool.o render_remote.o
clean :
rm *.o ${EXECS}