home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume39
/
nhl
/
part01
/
Makefile
next >
Wrap
Makefile
|
1993-09-16
|
700b
|
47 lines
#
# Makefile for nhl : NHL schedule program
#
# George Ferguson, ferguson@cs.rochester.edu, 29 Jul 1993.
#
#
# Adjust as needed:
#
#CC = cc
#CFLAGS = -g
LINKFLAGS =
LIBS =
BINDIR = /usr/local/bin
MANDIR = /usr/local/man/man1
MANEXT = 1
#
# Don't touch:
#
SRCS = nhl.c schedule.c
OBJS = nhl.o
# Main target
nhl: $(OBJS)
$(CC) -o nhl $(LINKFLAGS) $(OBJS) $(LIBS)
# Other targets
install: nhl
cp nhl $(BINDIR)
install.man:
cp nhl.man $(MANDIR)/nhl.$(MANEXT)
clean:
rm -f nhl $(OBJS)
# Dependencies
nhl.o: schedule.c
# Archiving targets
shar:
shar -n nhl -s ferguson@cs.rochester.edu `awk '{print $$1}' MANIFEST` >nhl.shar
tar:
tar cvf - `awk '{print $$1}' MANIFEST` | compress >nhl.tar.Z