ack/util/amisc/Makefile

34 lines
610 B
Makefile
Raw Normal View History

1985-04-12 14:55:00 +00:00
# @(#)Makefile 1.1
EM = ../..
1986-02-11 11:22:43 +00:00
BINDIR = $(EM)/bin
1985-04-12 14:55:00 +00:00
h = $(EM)/h
1985-04-12 15:06:05 +00:00
CFLAGS = -n -O -I$h
1986-02-11 11:22:43 +00:00
ALL = anm asize astrip aal
OFILES = anm.o asize.o astrip.o aal.o
CFILES = anm.c asize.c astrip.c aal.c
1985-04-12 14:55:00 +00:00
all: $(ALL)
1986-02-11 11:22:43 +00:00
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
1985-04-12 14:55:00 +00:00
1985-04-12 15:06:05 +00:00
clean: ; rm -f $(ALL) $(OFILES)
1985-04-12 14:55:00 +00:00
1986-02-11 11:22:43 +00:00
pr: $(CFILES)
@pr -n Makefile $(CFILES)
opr:
make pr | opr