Revision 2092,
748 bytes
checked in by epeisach, 35 years ago
(diff) |
Added dependencies
|
Rev | Line | |
---|
[6] | 1 | # |
---|
| 2 | # $Source: /afs/dev.mit.edu/source/repository/athena/bin/ansi/Makefile,v $ |
---|
[2092] | 3 | # $Author: epeisach $ |
---|
[6] | 4 | # $Locker: $ |
---|
[2092] | 5 | # $Header: /afs/dev.mit.edu/source/repository/athena/bin/ansi/Makefile,v 1.2 1989-09-16 12:31:02 epeisach Exp $ |
---|
[6] | 6 | # |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | DESTDIR= |
---|
| 10 | CONFDIR= /usr/athena |
---|
| 11 | INCDIR= /usr/include |
---|
| 12 | CFLAGS = -O -I${INCDIR} |
---|
| 13 | |
---|
| 14 | all: ansi unseg |
---|
| 15 | |
---|
| 16 | ansi: ansi.o |
---|
| 17 | cc $(CFLAGS) -o ansi ansi.o |
---|
| 18 | |
---|
| 19 | unseg: unseg.o |
---|
| 20 | cc $(CFLAGS) -o unseg unseg.o |
---|
| 21 | |
---|
| 22 | install: all |
---|
| 23 | install -c -s ansi ${DESTDIR}${CONFDIR}/ansi |
---|
| 24 | install -c -s unseg ${DESTDIR}${CONFDIR}/unseg |
---|
| 25 | |
---|
| 26 | clean: |
---|
| 27 | rm -f ansi unseg *.o core a.out *.bak *~ |
---|
[2092] | 28 | |
---|
| 29 | depend: |
---|
| 30 | makedepend ${CFLAGS} ansi.c unseg.c |
---|
| 31 | |
---|
| 32 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
---|
| 33 | |
---|
| 34 | ansi.o: ansi.c /usr/include/stdio.h |
---|
| 35 | unseg.o: unseg.c /usr/include/stdio.h |
---|
Note: See
TracBrowser
for help on using the repository browser.