Makefile revision 1.3
1# $NetBSD: Makefile,v 1.3 2002/05/26 12:47:43 jdolecek Exp $
2
3# ite support for A2410, generate C source from TMS34010 assembler 
4grf_ultms.c: grf_ultms.g
5	echo '/* $$' 'NetBSD$$ */' > ${.TARGET}
6	echo >> ${.TARGET}
7	echo '/* Generated from' >> ${.TARGET}
8	grep '$$NetBSD' ${.ALLSRC} | sed -e 's/[^$$]*\$$//' -e 's/\$$.*//' \
9		-e 's/^/   /' >> ${.TARGET}
10	echo '*/' >> ${.TARGET}
11	echo >> ${.TARGET}
12	gspa -c tmscode < ${.ALLSRC} >> ${.TARGET}
13