home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume21
/
exebyte_toc
/
Makefile
< prev
next >
Wrap
Makefile
|
1990-04-29
|
765b
|
39 lines
SRCS = exetoc.c smtops.c
OBJS = exetoc.o smtops.o
HDRS = exitcodes.h smtio.h smtops.h
DOCS = exetoc.man
# Uncomment this if you have librmt.a installed someplace
RMT = -DREMOTE=1 -I/usr/local/include
LIBS = /usr/local/lib/librmt.a
# Uncomment this if you DON'T have librmt.a installed someplace
#RMT =
#LIBS =
CFLAGS = $(RMT) -O
BINDIR = /usr/local/bin
MANDIR = /usr/local/man/man1
MANEXT = 1
exetoc: $(OBJS)
cc $(CFLAGS) -o exetoc $(OBJS) $(LIBS)
install: exetoc
install -s exetoc $(BINDIR)
cp exetoc.man $(MANDIR)/exetoc.$(MANEXT)
clean:
/bin/rm -f exetoc a.out $(OBJS) core *.BAK *.CKP
shar:
shar Makefile $(SRCS) $(HDRS) $(DOCS) >exetoc.shar
saber:
# load $(SRCS)
exetoc.o: exitcodes.h smtio.h smtops.h
smtops.o: exitcodes.h smtio.h smtops.h