Fix dependences and discard irrelevant "cpp" error message.

This commit is contained in:
tron 1999-04-10 21:36:26 +00:00
parent 92b1de5348
commit 7be185347a
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1999/03/09 15:14:32 is Exp $
# $NetBSD: Makefile,v 1.4 1999/04/10 21:36:26 tron Exp $
#
# Use this file to regenerate AMIGA and DRACO out of the GENERIC template.
@ -6,7 +6,7 @@
all: AMIGA DRACO
AMIGA:
AMIGA: GENERIC
@echo -n '# '$$ > $@
@echo NetBSD$$ >> $@
@echo '#' >> $@
@ -15,10 +15,10 @@ AMIGA:
@echo '#' >> $@
@echo '# Created from: ' >> $@
@sed -e '1s/NetBSD/ NetBSD/' GENERIC |\
cpp -undef -P -DAMIGA_CONFIGURATION |\
cpp -undef -P -DAMIGA_CONFIGURATION 2>/dev/null |\
awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
DRACO:
DRACO: GENERIC
@echo -n '# '$$ > $@
@echo NetBSD$$ >> $@
@echo '#' >> $@
@ -27,7 +27,7 @@ DRACO:
@echo '#' >> $@
@echo '# Created from: ' >> $@
@sed -e '1s/NetBSD/ NetBSD/' GENERIC |\
cpp -undef -P -DDRACO_CONFIGURATION |\
cpp -undef -P -DDRACO_CONFIGURATION 2>/dev/null |\
awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $@
AMIGA DRACO: GENERIC Makefile