1 # $NetBSD: Makefile,v 1.11 2005/12/11 12:18:06 christos Exp $
3 S
!= cd
${.CURDIR
}/..
/..
/..
/..
; pwd
10 LIBCRTBEGIN
= # nothing
14 CFLAGS
= -Os
-mmultiple
-Wall
-msoft-float
-ffreestanding
15 CPPFLAGS
+= -D_STANDALONE
-DPPC_OEA
-I
${.OBJDIR
} -I
${S}
17 LINKFLAGS
= -x
-N
-Ttext
4000 -e _start
18 CLEANFILES
+= ${PROG}.sym
22 ${LD} -o
${.TARGET
}.sym
${LINKFLAGS} ${OBJS}
23 ${OBJCOPY} -O binary
${.TARGET
}.sym
${.TARGET
}
25 .
include <bsd.klinks.mk
>
26 .
include <bsd.prog.mk
>