blob: 43c0be30db5c4a9af7e3492a5f5fb20e8918b631 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Toolchain definitions for building for RISC OS using the GCCSDK cross-compiler
GCCSDK_INSTALL_CROSSBIN ?= /home/riscos/cross/bin
GCCSDK_INSTALL_ENV ?= /home/riscos/env
export CC = $(GCCSDK_INSTALL_CROSSBIN)/gcc
export AR = $(GCCSDK_INSTALL_CROSSBIN)/ar
export LD = $(GCCSDK_INSTALL_CROSSBIN)/gcc
export CP = cp
export RM = rm
export MKDIR = mkdir
export MV = mv
export ECHO = echo
export MAKE = make
export PERL = perl
export PKGCONFIG = $(GCCSDK_INSTALL_ENV)/ro-pkg-config
export XSLT = xsltproc
# Toolchain flags
WARNFLAGS = -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs -Werror -pedantic
export CFLAGS = -std=c99 -D_BSD_SOURCE -I$(TOP)/include/ $(WARNFLAGS) \
-mpoke-function-name
export ARFLAGS = -cru
export LDFLAGS = -L$(TOP)/
export CPFLAGS =
export RMFLAGS =
export MKDIRFLAGS = -p
export MVFLAGS =
export ECHOFLAGS =
export MAKEFLAGS =
export PKGCONFIGFLAGS =
export XSLTFLAGS =
export EXEEXT = ,ff8
include build/Makefile.common
|