diff options
author | James Bursa <james@netsurf-browser.org> | 2002-07-27 21:10:45 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2002-07-27 21:10:45 +0000 |
commit | 57feb5e2441093fb9b4f4be6e8d152cde9f0607c (patch) | |
tree | ce7cc60b2483d783d93d3a0a109818faf5e039ca /makefile | |
parent | e78ea408f3fee74beae600d1edeaa22c863953b9 (diff) | |
download | netsurf-57feb5e2441093fb9b4f4be6e8d152cde9f0607c.tar.gz netsurf-57feb5e2441093fb9b4f4be6e8d152cde9f0607c.tar.bz2 |
[project @ 2002-07-27 21:10:45 by bursa]
Simple RISC OS interface.
svn path=/import/netsurf/; revision=26
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 000000000..489135a5b --- /dev/null +++ b/makefile @@ -0,0 +1,31 @@ +# $Id: makefile,v 1.1 2002/07/27 21:10:45 bursa Exp $ + +all: netsurf,ff8 +clean: + rm */objs-riscos/* + +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 \ + -I.. -I../../Tools/libxml2/include -I../../Tools/oslib \ + -I../../Tools/curl/include -Dfd_set=long +CC = riscos-gcc +OBJECTS = render/objs-riscos/utils.o render/objs-riscos/css.o \ + render/objs-riscos/css_enum.o render/objs-riscos/box.o \ + render/objs-riscos/layout.o \ + riscos/objs-riscos/netsurf.o riscos/objs-riscos/font.o +HEADERS = render/box.h render/css.h render/css_enum.h render/font.h \ + render/layout.h render/utils.h +LIBS = ../../Tools/libxml2/libxml.ro ../../Tools/oslib/oslib.o ../../Tools/curl/libcurl.ro + +netsurf,ff8: $(OBJECTS) + $(CC) $(FLAGS) -o netsurf,ff8 $(OBJECTS) $(LIBS) + +render/css_enum.c render/css_enum.h: render/css_enums render/makeenum + render/makeenum render/css_enum < render/css_enums + +render/objs-riscos/%.o: render/%.c $(HEADERS) + $(CC) $(FLAGS) -o $@ -c $< + +riscos/objs-riscos/%.o: riscos/%.c $(HEADERS) + $(CC) $(FLAGS) -o $@ -c $< |