summaryrefslogtreecommitdiff
path: root/render/makefile
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2002-04-22 09:24:35 +0000
committerJames Bursa <james@netsurf-browser.org>2002-04-22 09:24:35 +0000
commit6d48b29c2bc7ce93eb6ac30f594bdcfb3aa97e11 (patch)
tree9d60d5b341264d7d7db555865b2583e0f6b7c19d /render/makefile
downloadnetsurf-6d48b29c2bc7ce93eb6ac30f594bdcfb3aa97e11.tar.gz
netsurf-6d48b29c2bc7ce93eb6ac30f594bdcfb3aa97e11.tar.bz2
[project @ 2002-04-22 09:24:35 by bursa]
Initial revision svn path=/import/netsurf/; revision=2
Diffstat (limited to 'render/makefile')
-rw-r--r--render/makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/render/makefile b/render/makefile
new file mode 100644
index 000000000..5630b6a33
--- /dev/null
+++ b/render/makefile
@@ -0,0 +1,24 @@
+# $Id: makefile,v 1.1.1.1 2002/04/22 09:24:34 bursa Exp $
+
+FLAGS = -g -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual \
+-Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes \
+-Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -std=c9x
+CC = gcc
+
+render: render.o utils.o css.o css_enum.o
+ $(CC) $(FLAGS) `xml2-config --libs` -o render render.o utils.o css.o css_enum.o
+
+render.o: render.c css.h css_enum.h utils.h
+ $(CC) $(FLAGS) `xml2-config --cflags` -c render.c
+
+css.o: css.c css.h css_enum.h utils.h
+ $(CC) $(FLAGS) -c css.c
+
+utils.o: utils.c utils.h
+ $(CC) $(FLAGS) -c utils.c
+
+css_enum.o: css_enum.c css_enum.h
+ $(CC) $(FLAGS) -c css_enum.c
+
+css_enum.c css_enum.h: css_enums makeenum
+ ./makeenum css_enum < css_enums