From 7592c2cb1a204ab7041a7a1e4362e90309b494e9 Mon Sep 17 00:00:00 2001 From: keie Date: Tue, 11 Feb 1986 11:22:43 +0000 Subject: [PATCH] Adapted to our ack environment. --- util/amisc/Makefile | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/util/amisc/Makefile b/util/amisc/Makefile index 3cf60e34b..2d72e5cc7 100644 --- a/util/amisc/Makefile +++ b/util/amisc/Makefile @@ -1,19 +1,33 @@ # @(#)Makefile 1.1 EM = ../.. +BINDIR = $(EM)/bin h = $(EM)/h CFLAGS = -n -O -I$h -ALL = anm asize astrip -OFILES = anm.o asize.o astrip.o -CFILES = anm.c asize.c astrip.c +ALL = anm asize astrip aal +OFILES = anm.o asize.o astrip.o aal.o +CFILES = anm.c asize.c astrip.c aal.c all: $(ALL) -cp cmp: all - for i in $(ALL); do $@ $$i $$ROOT/usr/bin/$$i; done +anm: anm.c + $(CC) $(CFLAGS) -o anm anm.c +asize: asize.c + $(CC) $(CFLAGS) -o asize asize.c +astrip: astrip.c + $(CC) $(CFLAGS) -o astrip astrip.c +aal: aal.c + $(CC) $(CFLAGS) -DAUTORAN -o aal aal.c + +install: all + for i in $(ALL); do cp $$i $(BINDIR)/$$i; done + +cmp: all + for i in $(ALL); do cmp $$i $(BINDIR)/$$i; done clean: ; rm -f $(ALL) $(OFILES) -get: ; getall -unget: ; ungetall -print: $(CFILES) - pr -n Makefile $(CFILES) | lpr +pr: $(CFILES) + @pr -n Makefile $(CFILES) + +opr: + make pr | opr