home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume26
/
cputt
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-04-18
|
581b
|
34 lines
DESTROOT =
DESTPATH = $(DESTROOT)/usr/local
PROG = cputt
OBJS = globals.o init.o getcmd.o hash.o routines.o main.o
CC = cc
CDEBUG = -O
CFLAGS = $(CDEBUG)
LIBS = -lkvm
DIRINSTALL = $(DESTPATH)/bin
all: $(PROG)
.c.o:
$(CC) $(CFLAGS) -c -R $<
globals.o:
$(CC) $(CFLAGS) -c $<
$(OBJS): cputt.h
$(PROG): $(OBJS)
$(CC) -o $@ $(OBJS) $(LIBS)
install: $(PROG)
strip $(PROG)
cp $(PROG) $(DIRINSTALL)/$(PROG)
/etc/chown root $(DIRINSTALL)/$(PROG)
chgrp kmem $(DIRINSTALL)/$(PROG)
chmod 2755 $(DIRINSTALL)/$(PROG)
clean:
rm -f $(OBJS) $(PROG)