Makefile
author Tero Marttila <terom@fixme.fi>
Fri, 06 Jun 2008 16:05:26 +0300
changeset 10 9daa832ab9c4
parent 8 4d38ccbeb93e
child 11 082bfaf38cf0
permissions -rw-r--r--
separate http query argument parsing into a new http module, and clean up unused headers from web_main.c

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 web_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_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 http.o render.o remote_node.o remote_pool.o render_remote.o

clean :
	rm *.o ${EXECS}