Upgrade to version 1.05
[unix-history] / gnu / libexec / uucp / contrib / Makefile.uurt
CommitLineData
3469b437
AC
1# $Id: Makefile,v 1.4 1994/04/14 17:47:52 kdburg Exp $
2# Makefile for uurate 1.10
41c799d4 3#
3469b437
AC
4
5# Prefix directory for installation directories.
6prefix = /usr/local
7
8# Directory where the needed .h files are installed (uucp.h ...).
9uucpsrcs = ../
41c799d4
C
10
11# Where uurate is installed
3469b437
AC
12BIN=$(prefix)/bin
13# Where uurate's man is installed
14MAN=$(prefix)/man/man1
15
16# The directory to look in for Taylor style configuration files
17newconfigdir = $(prefix)/conf/uucp
41c799d4
C
18
19# Flags to use when compiling uurate
3469b437
AC
20CC=gcc -O2
21CFLAGS=-I.. -Wall
22LDFLAGS=-s
41c799d4 23
41c799d4
C
24SHELL=/bin/sh
25PROGS=uurate
26
27#-----------
3469b437 28MORECFLAGS= -I. -I$(uucpsrcs) -DNEWCONFIGLIB=\"$(newconfigdir)\"
41c799d4
C
29
30all: $(PROGS)
31
3469b437
AC
32uurate: uurate.c
33 $(CC) $(CFLAGS) $(MORECFLAGS) $@.c -o $@ $(LDFLAGS)
34
41c799d4 35install: $(PROGS)
3469b437
AC
36 cp $(PROGS) $(BIN)
37 cp uurate.man $(MAN)/uurate.1
41c799d4
C
38
39clean:
40 rm -f $(PROGS) core