NetBSD/sys/arch/amiga/dev/Makefile

13 lines
464 B
Makefile

# $NetBSD: Makefile,v 1.4 2002/05/26 12:51:55 jdolecek 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}