home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume13
/
conf
/
part01
/
Makefile
< prev
next >
Wrap
Makefile
|
1988-03-13
|
723b
|
36 lines
SHELL=/bin/sh
INSTALL= mv
CFLAGS= -g
SRCS= conf.c confrw.c confrots.c confopts.c confalloc.c confstr.c confprnt.c confsig.c
OBJS= conf.o confrw.o confrots.o confopts.o confalloc.o confstr.o confprnt.o confsig.o
HEDRS= conf.h config.h extern.h structs.h
NEW= xconf
NAME= conf
LISP= conf.el
MAKES= Makefile
DOCDIR= doc
CONFLIB= /usr/lib/conf
BINDIR= /usr/local/bin
LINT=lint
LIBS= -ltermlib
$(NEW): $(OBJS)
$(CC) $(CFLAGS) -o $(NEW) $(OBJS) $(LIBS)
clean:
rm -f *.o $(NEW) core
shar:
shar $(DOCDIR) $(MAKES) $(SRCS) $(HEDRS) $(LISP) > conf.shar
lint:
$(LINT) $(LIBS) $(SRCS)
install:
cp $(NEW) $(BINDIR)/$(NAME)
-mkdir $(CONFLIB)
cp $(DOCDIR)/confhelp $(CONFLIB)
-chmod 777 $(CONFLIB)
-chmod 644 $(CONFLIB)/*