home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
misc
/
volume8
/
memlintok
/
Makefile
< prev
next >
Wrap
Makefile
|
1989-08-28
|
954b
|
52 lines
# $Header: Makefile,v 1.4 89/05/02 15:06:48 bobl Locked $
default: new
#
# This is where you want the header to go. It might be advisable to
# put it in some local directory rather than this default one...
#
HDR_DEST = /usr/include
#
# The man page goes here. Again, you may have some local place to put it.
#
MAN_DEST = /usr/man/man3
FILES = \
README \
Makefile \
good \
memlintok.3 \
memlintok.h \
t_memlintok.c
clean:
rm -f t_memlintok new core a.out *.o memlintok.shar
new: t_memlintok
t_memlintok >new
t_memlintok: t_memlintok.c memlintok.h
cc t_memlintok.c -o t_memlintok
test: new t_memlintok
@echo "# comparing new results with known good ones:"
diff new good
@echo "# should be no lint errors:"
lint -bachx t_memlintok.c
update: new
mv -f new good
shar: memlintok.shar
memlintok.shar: $(FILES)
shar $(FILES) >memlintok.shar
install: memlintok.h memlintok.3
cp memlintok.h $(HDR_DEST)
cp memlintok.3 $(MAN_DEST)