Revision 9514,
760 bytes
checked in by ghudson, 28 years ago
(diff) |
Honor configure-time environment variables CPPFLAGS, CFLAGS, LDFLAGS,
and LIBS properly.
|
Line | |
---|
1 | # $Id: Makefile.in,v 1.3 1997-01-11 19:09:56 ghudson Exp $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | CFLAGS=-I. |
---|
5 | INSTALL=@INSTALL@ |
---|
6 | VPATH=@srcdir@ |
---|
7 | srcdir=@srcdir@ |
---|
8 | top_srcdir=@top_srcdir@ |
---|
9 | prefix=@prefix@ |
---|
10 | exec_prefix=@exec_prefix@ |
---|
11 | bindir=@bindir@ |
---|
12 | mandir=@mandir@ |
---|
13 | |
---|
14 | CC=@CC@ |
---|
15 | CPPFLAGS=@CPPFLAGS@ |
---|
16 | CFLAGS=@CFLAGS@ |
---|
17 | LDFLAGS=@LDFLAGS@ |
---|
18 | LIBS=@LIBS@ |
---|
19 | ALL_CFLAGS=-I. ${CPPFLAGS} ${CFLAGS} |
---|
20 | |
---|
21 | all: jot |
---|
22 | |
---|
23 | jot: jot.o |
---|
24 | ${CC} ${LDFLAGS} -o jot jot.o ${LIBS} |
---|
25 | |
---|
26 | .c.o: |
---|
27 | ${CC} -c ${ALL_CFLAGS} $< |
---|
28 | |
---|
29 | check: |
---|
30 | |
---|
31 | install: |
---|
32 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} |
---|
33 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1 |
---|
34 | ${INSTALL} -m 555 jot ${DESTDIR}${bindir} |
---|
35 | ${INSTALL} -m 444 ${srcdir}/jot.1 ${DESTDIR}${mandir}/man1 |
---|
36 | |
---|
37 | clean: |
---|
38 | rm -f jot.o jot |
---|
39 | |
---|
40 | distclean: clean |
---|
41 | rm -f config.cache config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.