home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-08-22 | 805 b | 42 lines |
- # Copyright (c) 1989 Citadel
- # All Rights Reserved
-
- # makefile 1.4 - 91/08/22
-
- # manx makefile
-
- CC = cc# # C compiler
- CFLAGS = -O# # C compiler options
- BINDIR = /usr/bin# # bin directory
- LINT = lint -b -p# # lint command and options
- MAN = manx.man# # manual file
-
- FILES = makefile ansi.h manx.c
- SRCS = manx.c
- OBJS = $(SRCS:.c=.o)
- MANS = manx.c
-
- manx:
-
- install:
- @if test -s $(BINDIR)/manx = 0; \
- then \
- echo $(BINDIR)/manx exists\.; \
- echo -n "Do you wish to copy over it? "; \
- read response; \
- case $$response in \
- y | Y | yes | YES | Yes) ;; \
- *) exit 1 ;; \
- esac \
- fi; \
- cp manx $(BINDIR)/manx
- @echo manx installed.
-
- lint:
- $(LINT) $(SRCS)
-
- man: $(MAN)
-
- $(MAN): $(MANS)
- cat $(MANS) | manx > $@