home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
misc
/
volume8
/
gnuplot1.10A
/
part07
/
help
/
makefile.unx
< prev
next >
Wrap
Makefile
|
1989-09-09
|
1KB
|
70 lines
#
# HELP - Ver. 1.0
#
# by R. Stolfa
#
# (For 3B1 shared libraries change the ld command below...)
# Modification History
# 08/26/87 Created
# 08/31/87 Added initialize and catch functions
# 09/02/87 Added all .h dependencies
# 07/13/88 Packaged to ship out of OSU
# Added insert to fix problem with uniqueness
#
BIN = /usr/local/bin
HELPDIR = /usr/local/help
CFLAGS = -O
CC = cc
# HELPOWN = help
# HELPGRP = root
HELPOWN = bin
HELPGRP = bin
OFILES =\
main.o append.o catch.o format_help.o free_list.o help.o insert.o \
initialize.o input_choice.o pchar.o present.o scan_topics.o
help: $(OFILES)
$(CC) $(CFLAGS) $(OFILES) -o help
# ld /lib/crt0s.o /lib/shlib.ifile $(CFLAGS) $(OFILES) -o help
all: help manual
install:
cp help $(BIN)
chmod 711 $(BIN)/help
chown $(HELPOWN) $(BIN)/help
chgrp $(HELPGRP) $(BIN)/help
# mkdir $(HELPDIR)
# cp files $(HELPDIR)
# cd $(HELPDIR) ; shar files
# @echo "Remember to fix the ownership & permissions"
manual:
nroff -man man.form > help.man
clean:
rm -f *.o help a.out core help.man Help.shar
shar:
shar README Makefile *.h *.c man.form files > Help.shar
#
# Dependencies
#
main.o append.o catch.o format_help.o free_list.o help.o \
initialize.o input_choice.o insert.o pchar.o present.o scan_topics.o \
: global.h
main.o catch.o format_help.o free_list.o help.o \
input_choice.o insert.o pchar.o scan_topics.c \
: /usr/include/stdio.h
initialize.o \
: /usr/include/signal.h
input_choice.o \
: /usr/include/ctype.h