mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-03 17:54:33 +03:00
811106028f
RISC OS Wimp GUI. svn path=/import/netsurf/; revision=33
39 lines
1.5 KiB
Makefile
39 lines
1.5 KiB
Makefile
# $Id: makefile,v 1.2 2002/09/11 14:24:02 monkeyson Exp $
|
|
|
|
all: netsurf,ff8
|
|
clean:
|
|
rm */objs-riscos/*
|
|
|
|
FLAGS = -g -Wall -W -Wundef -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 -mpoke-function-name
|
|
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/gui.o riscos/objs-riscos/font.o \
|
|
desktop/objs-riscos/browser.o desktop/objs-riscos/fetch.o \
|
|
desktop/objs-riscos/netsurf.o
|
|
HEADERS = render/box.h render/css.h render/css_enum.h \
|
|
render/layout.h render/utils.h riscos/font.h riscos/gui.h \
|
|
desktop/browser.h desktop/fetch.h desktop/gui.h desktop/netsurf.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 $<
|
|
|
|
desktop/objs-riscos/%.o: desktop/%.c $(HEADERS)
|
|
$(CC) $(FLAGS) -o $@ -c $<
|
|
|