1 ED!=cd $(.CURDIR)/..; \ 2 printf "xxx:\n\techo \$${.OBJDIR}/ed\n" | make -r -s -f - xxx 3 4 all: build test 5 @echo done 6 7 build: mkscripts.sh 8 @echo building test scripts... 9 @chmod +x mkscripts.sh 10 @./mkscripts.sh ${ED} 11 12 test: build ckscripts.sh 13 @echo running test scripts... 14 @chmod +x ckscripts.sh 15 @./ckscripts.sh ${ED} 16 17 clean: 18 rm -f *.ed *.[oz] *~ 19