ack/mach/xenix3/cv/proto.make

44 lines
1,009 B
Plaintext
Raw Normal View History

1994-06-24 14:02:31 +00:00
# $Id$
1991-09-03 16:57:00 +00:00
#PARAMS do not remove this line!
OBJLIB=$(TARGET_HOME)/modules/lib/libobject.$(LIBSUF)
SRC_DIR = $(SRC_HOME)/mach/xenix3/cv
all: cv chstack
cv: cv.$(SUF)
$(CC) $(LDOPTIONS) -o cv cv.$(SUF) $(OBJLIB)
chstack: chstack.$(SUF)
$(CC) $(LDOPTIONS) -o chstack chstack.$(SUF)
cv.$(SUF): $(SRC_DIR)/cv.c
$(CC) $(COPTIONS) -I$(TARGET_HOME)/h -c $(SRC_DIR)/cv.c
chstack.$(SUF): $(SRC_DIR)/chstack.c
$(CC) $(COPTIONS) -c $(SRC_DIR)/chstack.c
install: all
1991-09-18 10:03:49 +00:00
-mkdir $(TARGET_HOME)/lib.bin/xenix3
1991-09-03 16:57:00 +00:00
cp cv $(TARGET_HOME)/lib.bin/xenix3/cv
cp chstack $(TARGET_HOME)/lib.bin/xenix3/chstack
cmp: all
-cmp cv $(TARGET_HOME)/lib.bin/xenix3/cv
-cmp chstack $(TARGET_HOME)/lib.bin/xenix3/chstack
clean:
1991-09-18 10:03:49 +00:00
rm -f *.$(SUF) Out cv chstack
1991-09-03 16:57:00 +00:00
lint:
$(LINT) $(LINTOPTIONS) -I$(TARGET_HOME)/h $(SRC_DIR)/cv.c $(UTIL_HOME)/modules/lib/$(LINTPREF)object.$(LINTSUF)
$(LINT) $(LINTOPTIONS) -I$(TARGET_HOME)/h $(SRC_DIR)/chstack.c
pr:
@pr $(SRC_DIR)/proto.make $(SRC_DIR)/cv.c $(SRC_DIR)/chstack.c
opr:
make pr | opr