Now making use of ../../install and ../../compare.

This commit is contained in:
keie 1984-10-25 14:10:00 +00:00
parent b8e156100f
commit 08545984f4
2 changed files with 32 additions and 14 deletions

View file

@ -1,19 +1,28 @@
CFLAGS=-O CFLAGS=-O
cv: cv.o cv: cv.o
cc -o cv -n cv.o $(CC) -o cv -n cv.o
install: cv pmcv: pmcv.o
cp cv ../../../bin $(CC) -o pmcv -n pmcv.o
cmp: cv install: ins_cv ins_pmcv
-../compare cv ins_cv: cv
../../install cv
ins_pmcv: pmcv
../../install pmcv
cmp: cmp_cv cmp_pmcv
cmp_cv: cv
-../../compare cv
cmp_pmcv: pmcv
-../../compare pmcv
opr: opr:
make pr | opr make pr | opr
pr: pr:
@pr `pwd`/cv.c @pr `pwd`/cv.c `pwd`/pmcv.c
clean: clean:
-rm -f *.o *.old cv -rm -f *.o *.old cv pmcv

View file

@ -1,19 +1,28 @@
CFLAGS=-O CFLAGS=-O
cv: cv.o cv: cv.o
cc -o cv -n cv.o $(CC) -o cv -n cv.o
install: cv pmcv: pmcv.o
cp cv ../../../bin $(CC) -o pmcv -n pmcv.o
cmp: cv install: ins_cv ins_pmcv
-../compare cv ins_cv: cv
../../install cv
ins_pmcv: pmcv
../../install pmcv
cmp: cmp_cv cmp_pmcv
cmp_cv: cv
-../../compare cv
cmp_pmcv: pmcv
-../../compare pmcv
opr: opr:
make pr | opr make pr | opr
pr: pr:
@pr `pwd`/cv.c @pr `pwd`/cv.c `pwd`/pmcv.c
clean: clean:
-rm -f *.o *.old cv -rm -f *.o *.old cv pmcv