Make paths explicit to handle case where . is not in PATH.

Locate ed executible wrt obj/noobj.
This commit is contained in:
jtc 1993-08-02 20:43:57 +00:00
parent ee8bf17c71
commit eb2bd16e91
1 changed files with 8 additions and 4 deletions

View File

@ -1,19 +1,23 @@
# $Id: Makefile,v 1.5 1993/08/02 17:15:26 mycroft Exp $
# $Id: Makefile,v 1.6 1993/08/02 20:43:57 jtc Exp $
.if exists(../obj)
ED= ../obj/ed
.else
ED= ../ed
.endif
all: build test
all: ${ED} build test
@echo done
build: mkscripts.sh
@echo building test scripts...
@chmod +x mkscripts.sh
@mkscripts.sh ${ED}
@./mkscripts.sh ${ED}
test: build ckscripts.sh
@echo running test scripts...
@chmod +x ckscripts.sh
@ckscripts.sh ${ED}
@./ckscripts.sh ${ED}
clean:
rm -f *.ed *.[oz] *~