home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-User.iso / NextLibrary / PrivateFrameworks / Uucp.framework / Versions / A / Resources / contrib / Makefile.uurt < prev    next >
Makefile  |  1994-04-16  |  810b  |  41 lines

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