use CPPFLAGS instead of CFLAGS, ${COMPILE.c} instead of ${CC} ... -c
This commit is contained in:
parent
d0e23d974a
commit
97ba901942
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: Makefile.inc,v 1.4 1997/10/13 21:26:58 mark Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.5 1997/10/22 23:21:46 lukem Exp $
|
||||
|
||||
KMINCLUDES=
|
||||
KMSRCS=
|
||||
CFLAGS+=-DSOFTFLOAT
|
||||
CPPFLAGS+=-DSOFTFLOAT
|
||||
|
||||
.include <fplib/Makefile.inc>
|
||||
|
|
|
@ -3,17 +3,14 @@
|
|||
SRCS+=fplib_glue.S fplib_libc.c softfloat.c
|
||||
|
||||
softfloat.o: softfloat.c
|
||||
${CC} -freg-struct-return ${CFLAGS} ${CPPFLAGS} -c ${.IMPSRC} \
|
||||
-o ${.TARGET}
|
||||
${COMPILE.c} -freg-struct-return -c ${.IMPSRC} -o ${.TARGET}
|
||||
@${LD} -x -r ${.TARGET}
|
||||
@mv a.out ${.TARGET}
|
||||
|
||||
softfloat.po: softfloat.c
|
||||
${CC} -freg-struct-return ${CFLAGS} ${CPPFLAGS} -c -p ${.IMPSRC} \
|
||||
-o ${.TARGET}
|
||||
${COMPILE.c} -freg-struct-return -p ${.IMPSRC} -o ${.TARGET}
|
||||
@${LD} -X -r ${.TARGET}
|
||||
@mv a.out ${.TARGET}
|
||||
|
||||
softfloat.so: softfloat.c
|
||||
${CC} ${CPICFLAGS} -freg-struct-return ${CFLAGS} ${CPPFLAGS} \
|
||||
-c ${.IMPSRC} -o ${.TARGET}
|
||||
${COMPILE.c} -freg-struct-return -c ${.IMPSRC} -o ${.TARGET}
|
||||
|
|
Loading…
Reference in New Issue