a9fc136dbd
works. sparc & i386 support is included here. libstdc++-v3 does not yet properly build for some strange reasons (that may be due to broken netbsd header files, it's not yet clear) but i have been able to compile, link and run both i386 & sparc hello.c.
14 lines
352 B
Makefile
14 lines
352 B
Makefile
# $NetBSD: Makefile.frontend,v 1.1 2003/07/25 16:32:24 mrg Exp $
|
|
|
|
BINDIR= /usr/bin
|
|
|
|
CPPFLAGS+= -I${GCCARCH} -I${FRONTENDOBJ} \
|
|
${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
DPADD= ${FRONTENDOBJ}/libfrontend.a ${LIBIBERTYOBJ}/libiberty.a
|
|
LDADD= -L${FRONTENDOBJ} -lfrontend -L${LIBIBERTYOBJ} -liberty
|
|
|
|
.include <bsd.prog.mk>
|