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