Makefile
changeset 19 d18606bb6f20
parent 18 86f2e5b7191b
child 23 31307efd7e78
--- a/Makefile	Mon Jun 09 18:58:39 2008 +0300
+++ b/Makefile	Tue Jun 17 16:39:55 2008 +0300
@@ -1,4 +1,4 @@
-LDFLAGS = -Llib/libevent-dev/lib -levent -lpng
+LDFLAGS = -Llib/libevent-dev/lib -levent -lpng -pthread
 CFLAGS = -Wall -g -Ilib/libevent-dev/include
 
 EXECS = file_main web_main node_main
@@ -6,24 +6,25 @@
 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_remote.h
-render_mandelbrot.o: render_mandelbrot.c render_mandelbrot.h
-render_slices.o: render_slices.c render_slices.h
+http.o: http.c http.h common.o
+remote_node.o: remote_node.c remote_node.h common.o
+remote_pool.o: remote_pool.c remote_pool.h common.o
+render.o: render.c render.h common.o
+render_remote.o: render_remote.c render_remote.h common.o
+render_png.o: render_png.c render_png.h common.o
+render_raw.o: render_raw.c render_raw.h common.o
+render_local.o: render_local.c render_local.h common.o
+render_multi.o: render_multi.c render_multi.h render_remote.o common.o
+render_mandelbrot.o: render_mandelbrot.c render_mandelbrot.h common.o
+render_slices.o: render_slices.c render_slices.h common.o
+render_threads.o: render_threads.c render_threads.h common.o
 
 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
+node_main: node_main.o common.o render.o render_raw.o render_png.o render_local.o render_slices.o render_threads.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 render_slices.o
 
 clean :