1 |
james |
15 |
# GraphFree |
2 |
|
|
|
3 |
|
|
FLAGS = -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual \ |
4 |
|
|
-Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes \ |
5 |
|
|
-Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline |
6 |
|
|
CC = riscos-gcc $(FLAGS) -mthrowback -mlibscl -O3 -I/usr/local/riscoslibs/include |
7 |
|
|
LIBS = /usr/local/riscoslibs/OSLib/OSLib.ro |
8 |
|
|
|
9 |
|
|
!GraphFree/!RunImage: graphfree.o |
10 |
|
|
$(CC) -o !GraphFree/!RunImage graphfree.o $(LIBS) |
11 |
|
|
|
12 |
|
|
graphfree.o: graphfree.c |
13 |
|
|
$(CC) -c graphfree.c |