limit the flags that get passed to cpp

This commit is contained in:
cgd 1995-12-20 12:36:56 +00:00
parent dfa3894a18
commit 3601644b3c

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 1995/12/12 01:53:50 cgd Exp $
# $NetBSD: Makefile,v 1.3 1995/12/20 12:36:56 cgd Exp $
CFLAGS+= -DLIBC_SCCS
OBJS= crt0.o gcrt0.o
@ -7,12 +7,12 @@ CLEANFILES+= core a.out
all: ${OBJS}
crt0.o: crt0.s
${CPP} -DCRT0 ${CFLAGS} ${.ALLSRC} | ${AS} -o $@
${CPP} -DCRT0 ${CFLAGS:M-[ID]*} ${.ALLSRC} | ${AS} -o $@
@${LD} -x -r ${.TARGET}
@mv a.out ${.TARGET}
gcrt0.o: crt0.s
${CPP} -DMCRT0 ${CFLAGS} ${.ALLSRC} | ${AS} -o $@
${CPP} -DMCRT0 ${CFLAGS:M-[ID]*} ${.ALLSRC} | ${AS} -o $@
@${LD} -x -r ${.TARGET}
@mv a.out ${.TARGET}