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
cv: cv.o
cc -o cv -n cv.o
$(CC) -o cv -n cv.o
install: cv
cp cv ../../../bin
pmcv: pmcv.o
$(CC) -o pmcv -n pmcv.o
cmp: cv
-../compare cv
install: ins_cv ins_pmcv
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:
make pr | opr
pr:
@pr `pwd`/cv.c
@pr `pwd`/cv.c `pwd`/pmcv.c
clean:
-rm -f *.o *.old cv
-rm -f *.o *.old cv pmcv

View file

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