NetBSD/sys/arch/amiga/dev/Makefile
2003-07-16 20:07:12 +00:00

13 lines
456 B
Makefile

# $NetBSD: Makefile,v 1.5 2003/07/16 20:07:12 is Exp $
# ite support for A2410, generate C source from TMS34010 assembler
grf_ultms.c: grf_ultms.g
echo '/* $$' 'NetBSD$$ */' | sed -e 's/ N/N/' > ${.TARGET}
echo >> ${.TARGET}
echo '/* Generated from' >> ${.TARGET}
grep '$$NetBSD' ${.ALLSRC} | sed -e 's/[^$$]*\$$//' -e 's/\$$.*//' \
-e 's/^/ /' >> ${.TARGET}
echo '*/' >> ${.TARGET}
echo >> ${.TARGET}
gspa -c tmscode ${.ALLSRC} >> ${.TARGET}