1987-10-06 16:58:10 +00:00
|
|
|
EMHOME = ../../..
|
|
|
|
LIBOBJ = $(EMHOME)/modules/lib/libobject.a
|
|
|
|
INCLUDE = $(EMHOME)/h
|
|
|
|
CFLAGS = -I. -I$(INCLUDE) -O
|
1989-02-02 13:24:50 +00:00
|
|
|
TARGETS = cv chstack
|
1987-10-06 16:58:10 +00:00
|
|
|
|
|
|
|
all: $(TARGETS)
|
|
|
|
|
|
|
|
install: all
|
|
|
|
../../install cv
|
1989-02-02 13:24:50 +00:00
|
|
|
../../install chstack
|
1987-10-06 16:58:10 +00:00
|
|
|
|
|
|
|
cmp: all
|
1989-02-02 13:24:50 +00:00
|
|
|
-../../compare cv
|
|
|
|
-../../compare chstack
|
1987-10-06 16:58:10 +00:00
|
|
|
|
|
|
|
cv: cv.o
|
|
|
|
$(CC) $(LDFLAGS) -o cv cv.o $(LIBOBJ)
|
|
|
|
|
1989-02-02 13:24:50 +00:00
|
|
|
chstack: chstack.o
|
|
|
|
$(CC) $(LDFLAGS) -o chstack chstack.o
|
|
|
|
|
1987-10-06 16:58:10 +00:00
|
|
|
clean:
|
|
|
|
rm -f $(TARGETS) *.o nohup.out Out
|
|
|
|
|
|
|
|
pr:
|
1989-02-02 13:24:50 +00:00
|
|
|
@pr Makefile cv.c chstack.c
|
1987-10-06 16:58:10 +00:00
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|