home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume5
/
mapmem
/
Makefile
next >
Wrap
Makefile
|
1989-02-03
|
733b
|
31 lines
## @(#)$Id: Makefile, V1.1.1.3 88/11/30 16:03:44 $
##
## MAPMEM makefile
## Version : 1.1.1.3 - 88/11/30 16:03:44
##
## edit as appropriate...
CFLAGS = -g -O
LDFLAGS =
LIBFLAGS = -lcurses
## Directory in which executable should be placed:
DESTDIR = /usr/local/bin
## Directory in which man page should be placed:
MANDIR = /usr/man/l_man/man8
## MAPMEM must have read access to /dev/kmem. Therefore, it must be
## setgid to some group with the appropriate privilege.
GRPID = sys
mapmem : mapmem.c
$(CC) $(LDFLAGS) $(CFLAGS) -o mapmem mapmem.c $(LIBFLAGS)
install: mapmem
cp mapmem $(DESTDIR)/mapmem
chgrp $(GRPID) $(DESTDIR)/mapmem
chmod g+s $(DESTDIR)/mapmem
cp mapmem.8 $(MANDIR)/mapmem.8
chmod 444 $(MANDIR)/mapmem.8