Subject: Re: typesetting music with TeX
To: None <tech-pkg@netbsd.org>
From: Martin J. Laubach <mjl@netbsd.org>
List: tech-pkg
Date: 01/17/2003 10:41:40
| > pre-build:
| > @echo "building musixflx..."
| > @echo "SHELL=/bin/sh" > ${WRKSRC}/Makefile
| > @echo "all:" >> ${WRKSRC}/Makefile
| > @echo " ${CC} -o musixflx systems/c-source/musixflx.c" >> \
| > ${WRKSRC}/Makefile
|
| To create a file from scratch, you could either put it in
| ${FILESDIR}=${.CURDIR}/files and copy it in, or else compose a patch
| against "/dev/null".
In this case I'd do
do-build:
cd ${WRKSRC}; ${CC} -o musixflx systems/c-source/musixflx.c
and be done with it. No need to generate Makefiles for just one
file.
mjl