1 # tested under HPUX 10.20 using HP's ANSI-C compiler
6 MANDIR = /usr/local/man
8 CFLAGS = -g -z -Wc,-w1 -Ae -DDEBUG -lHcurses
9 LFLAGS = -g -z -Wc,-w1 -Ae -lHcurses
10 CFILES = main.c curses.c
11 OFILES = main.o curses.o
12 HFILES = monitor.h monprivate.h
15 $(CC) $(OFILES) $(LFLAGS) -o $(NAME)
19 install: $(NAME) $(MANFILE)
22 chmod og-rw,a+x,u+rwx $(DEST)/$(NAME)
23 chown root $(DEST)/$(NAME)
24 chgrp bin $(DEST)/$(NAME)
25 cp $(MANFILE) $(MANDIR)/$(MANHPUX)
26 chmod a+r $(MANDIR)/$(MANHPUX)/$(MANFILE)
29 rm -f *.o $(NAME) trace core* lint.out
31 #-------------------------- E O F ---------------------------------------------