home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume11
/
cpmod
/
Makefile
< prev
Wrap
Makefile
|
1987-08-31
|
548b
|
39 lines
PROGRAM = cpmod
OBJECTS = cpmod.o
SOURCES = cpmod.c
CFLAGS = -O
LFLAGS = -abchx
MANPAGE = cpmod.1
FILES = cpmod.intro Makefile $(MANPAGE) $(SOURCES)
PROGDIR = /usr/local
MANDIR = /usr/man/man1
$(PROGRAM): $(OBJECTS)
cc $(CFLAGS) -o $(PROGRAM) $(OBJECTS)
lint: lint.err
lint.err: $(SOURCES)
lint $(LFLAGS) $(SOURCES) > lint.err
install:
install -s $(PROGRAM) $(PROGDIR)
install -c $(MANPAGE) $(MANDIR)
dist shar: sharfile
sharfile: $(FILES)
shar -a -p X $(FILES) > sharfile
clean:
rm -f $(PROGRAM) $(OBJECTS) lint.err sharfile