ack/mach/sun2/cv/proto.make
1994-06-24 14:02:31 +00:00

35 lines
677 B
Makefile

# $Id$
#PARAMS do not remove this line!
OBJLIB=$(TARGET_HOME)/modules/lib/libobject.$(LIBSUF)
SRC_DIR = $(SRC_HOME)/mach/sun3/cv
all: cv
cv: cv.$(SUF)
$(CC) $(LDOPTIONS) -o cv cv.$(SUF) $(OBJLIB)
cv.$(SUF): $(SRC_DIR)/cv.c
$(CC) $(COPTIONS) -DMACH=1 -I$(TARGET_HOME)/h -c $(SRC_DIR)/cv.c
install: all
-mkdir $(TARGET_HOME)/lib.bin/sun2
cp cv $(TARGET_HOME)/lib.bin/sun2/cv
cmp: all
-cmp cv $(TARGET_HOME)/lib.bin/sun2/cv
clean:
rm -f *.$(SUF) Out cv
lint:
$(LINT) $(LINTOPTIONS) -DMACH=1 -I$(TARGET_HOME)/h $(SRC_DIR)/cv.c $(UTIL_HOME)/modules/lib/$(LINTPREF)object.$(LINTSUF)
pr:
@pr $(SRC_DIR)/mach/sun2/cv/proto.make $(SRC_DIR)/cv.c
opr:
make pr | opr