diff options
Diffstat (limited to 'usr.sbin/pcvt/demo/Makefile')
-rw-r--r-- | usr.sbin/pcvt/demo/Makefile | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/usr.sbin/pcvt/demo/Makefile b/usr.sbin/pcvt/demo/Makefile new file mode 100644 index 0000000..59e8ad6 --- /dev/null +++ b/usr.sbin/pcvt/demo/Makefile @@ -0,0 +1,54 @@ +PROG= playvt +SRCS= playvt.c +DEMOS= chardemo.vt colors.vt sgr.vt +DEMOS+= outerlimit.vt twzone.vt cowscene.vt xmas.vt +NOMAN= + +all: $(DEMOS) $(PROG) + +install: + @${ECHO} "to look at the demos, execute:" + @${ECHO} " \"cat <filename>.vt\"" + @${ECHO} "if it is an animation and it runs too fast, try out:" + @${ECHO} " \"playvt -f <filename>.vt -d<some-delay-val>\"" + +.include <bsd.prog.mk> + +CLEANFILES+= ${DEMOS} + +# this seems to be the lowest common denominator + +chardemo.vt: ${.CURDIR}/${.TARGET}.gz.uu + uudecode ${.CURDIR}/${.TARGET}.gz.uu + gunzip -f ${.TARGET}.gz + rm -f ${.TARGET}.gz + +colors.vt: ${.CURDIR}/${.TARGET}.gz.uu + uudecode ${.CURDIR}/${.TARGET}.gz.uu + gunzip -f ${.TARGET}.gz + rm -f ${.TARGET}.gz + +sgr.vt: ${.CURDIR}/${.TARGET}.gz.uu + uudecode ${.CURDIR}/${.TARGET}.gz.uu + gunzip -f ${.TARGET}.gz + rm -f ${.TARGET}.gz + +cowscene.vt: ${.CURDIR}/${.TARGET}.gz.uu + uudecode ${.CURDIR}/${.TARGET}.gz.uu + gunzip -f ${.TARGET}.gz + rm -f ${.TARGET}.gz + +xmas.vt: ${.CURDIR}/${.TARGET}.gz.uu + uudecode ${.CURDIR}/${.TARGET}.gz.uu + gunzip -f ${.TARGET}.gz + rm -f ${.TARGET}.gz + +outerlimit.vt: ${.CURDIR}/${.TARGET}.gz.uu + uudecode ${.CURDIR}/${.TARGET}.gz.uu + gunzip -f ${.TARGET}.gz + rm -f ${.TARGET}.gz + +twzone.vt: ${.CURDIR}/${.TARGET}.gz.uu + uudecode ${.CURDIR}/${.TARGET}.gz.uu + gunzip -f ${.TARGET}.gz + rm -f ${.TARGET}.gz |