-astosc.out: ../ctlr/function.h ../ctlr/hostctlr.h ../ctlr/$(KBD)
- (cd ../tools; make mkastosc$X )
- ${RM} $@
- ../tools/mkastosc < ../ctlr/$(KBD) > $@
-
-asc_disp.out: ebc_disp$O
- (cd ../tools; make mkastods$X )
- ${RM} $@
+astosc.OUT: ../ctlr/function.h ../ctlr/hostctlr.h ../ctlr/$(KBD)
+ (cd ${.CURDIR}/../tools; make mkastosc )
+ -rm $@ astosc.out
+ ../tools/mkastosc ${.CURDIR}/../ctlr/hostctlr.h \
+ ${.CURDIR}/../ctlr/function.h < \
+ ${.CURDIR}/../ctlr/$(KBD) > $@
+ ln $@ astosc.out
+
+asc_disp.out: ebc_disp.o
+ (cd ${.CURDIR}/../tools; make mkastods )
+ -rm $@