Makefile
changeset 13 ee426f453cf5
parent 12 43297144f196
child 15 e7f0697814dc
equal deleted inserted replaced
12:43297144f196 13:ee426f453cf5
     1 LDFLAGS = -Llib/libevent-dev/lib -levent -lpng
     1 LDFLAGS = -Llib/libevent-dev/lib -levent -lpng
     2 CFLAGS = -Wall -g -Ilib/libevent-dev/include
     2 CFLAGS = -Wall -g -Ilib/libevent-dev/include
     3 
     3 
     4 EXECS = render_file web_main render_node
     4 EXECS = render_file web_main render_node
     5 
     5 
     6 all: render_file render_node render_web
     6 all: web_main file_main node_main
     7 
     7 
     8 common.o: common.c common.h
     8 common.o: common.c common.h
     9 http.o: http.c http.h
     9 http.o: http.c http.h
    10 remote_node.o: remote_node.c remote_node.h
    10 remote_node.o: remote_node.c remote_node.h
    11 remote_pool.o: remote_pool.c remote_pool.h
    11 remote_pool.o: remote_pool.c remote_pool.h
    12 render.o: render.c render.h
    12 render.o: render.c render.h
    13 render_remote.o: render_remote.c render_remote.h
    13 render_remote.o: render_remote.c render_remote.h
    14 render_png.o: render_png.c render_png.h
    14 render_png.o: render_png.c render_png.h
       
    15 render_raw.o: render_raw.c render_raw.h
    15 render_local.o: render_local.c render_local.h
    16 render_local.o: render_local.c render_local.h
       
    17 render_multi.o: render_multi.c render_multi.h
    16 render_mandelbrot.o: render_mandelbrot.c render_mandelbrot.h
    18 render_mandelbrot.o: render_mandelbrot.c render_mandelbrot.h
    17 
    19 
    18 file_main.o: file_main.c
    20 file_main.o: file_main.c
    19 node_main.o: node_main.c
    21 node_main.o: node_main.c
    20 web_main.o: web_main.c
    22 web_main.o: web_main.c
    21 
    23 
    22 render_file: file_main.o common.o render.o render_png.o render_local.o render_mandelbrot.o
    24 file_main: file_main.o common.o render.o render_raw.o render_png.o render_local.o render_mandelbrot.o
    23 render_node: node_main.o common.o render.o render_png.o render_local.o render_mandelbrot.o
    25 node_main: node_main.o common.o render.o render_raw.o render_png.o render_local.o render_mandelbrot.o
    24 render_web: web_main.o common.o http.o render.o remote_node.o remote_pool.o render_remote.o
    26 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
    25 
    27 
    26 clean :
    28 clean :
    27 	rm *.o ${EXECS}
    29 	rm *.o ${EXECS}
    28 
    30