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
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_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 mandelbrot.o
render_node: render_node.o common.o render.o mandelbrot.o
web_main: web_main.o common.o render.o remote_node.o remote_pool.o render_remote.o
clean :
rm *.o ${EXECS}