summaryrefslogtreecommitdiff
path: root/sys/arch/wgrisc/stand/Makefile.inc
blob: 6134f2b753e8af8f316b80cbb0f7d1be3b2c7fdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	$OpenBSD: Makefile.inc,v 1.2 1997/07/21 06:58:11 pefo Exp $

CPPFLAGS+=-Wall -Werror -I. -Imachine
CPPFLAGS+=-D_STANDALONE -DSTRIPPED -DALLOC_FIRST_FIT -DNO_SYM_LINKS
CFLAGS+=-O2 -mno-abicalls -mips1 -mcpu=r3000
BOOTREL=0x3000
BOOTMAGIC=0xdeadbeef

.if exists(${SADIR}/libsa/obj)
LIBSA=${SADIR}/libsa/obj/libsa.a
.else
LIBSA=${SADIR}/libsa/libsa.a
.endif
.if exists(${SADIR}/libz/obj)
LIBZ=${SADIR}/libz/obj/libz.a
.else
LIBZ=${SADIR}/libz/libz.a
.endif

BINDIR= /usr/mdec