ack/util/cmisc/Makefile

53 lines
1.1 KiB
Makefile
Raw Normal View History

1986-11-11 13:42:16 +00:00
EM = ../..
EMBIN = $(EM)/bin
1987-02-04 12:51:31 +00:00
EMMAN = $(EM)/man
1986-10-20 14:56:37 +00:00
CFLAGS = -O
1991-02-19 16:51:50 +00:00
LDFLAGS =
1986-10-20 14:56:37 +00:00
1988-11-16 09:37:04 +00:00
all: mkdep cid cclash prid tabgen
1986-10-20 14:56:37 +00:00
install: all
1988-11-16 09:37:04 +00:00
rm -f $(EMBIN)/mkdep $(EMBIN)/cid $(EMBIN)/cclash $(EMBIN)/prid \
$(EMBIN)/tabgen
cp mkdep cid cclash prid tabgen $(EMBIN)
rm -f $(EMMAN)/mkdep.1 $(EMMAN)/cid.1 $(EMMAN)/cclash.1 \
$(EMMAN)/prid.1 $(EMMAN)/tabgen.1
cp mkdep.1 cid.1 cclash.1 prid.1 tabgen.1 $(EMMAN)
1987-02-04 12:51:31 +00:00
cmp: all
-cmp mkdep $(EMBIN)/mkdep
-cmp cid $(EMBIN)/cid
-cmp cclash $(EMBIN)/cclash
-cmp prid $(EMBIN)/prid
1988-11-16 09:37:04 +00:00
-cmp tabgen $(EMBIN)/tabgen
1987-02-04 12:51:31 +00:00
-cmp mkdep.1 $(EMMAN)/mkdep.1
-cmp cid.1 $(EMMAN)/cid.1
-cmp cclash.1 $(EMMAN)/cclash.1
-cmp prid.1 $(EMMAN)/prid.1
1988-11-16 09:37:04 +00:00
-cmp tabgen.1 $(EMMAN)/tabgen.1
1986-10-20 14:56:37 +00:00
clean:
1988-11-16 09:37:04 +00:00
rm -f *.o mkdep cid cclash prid tabgen
1986-10-20 14:56:37 +00:00
1987-02-04 12:54:03 +00:00
pr:
@pr `pwd`/Makefile `pwd`/mkdep.c `pwd`/cclash.c `pwd`/cid.c \
1988-11-16 09:37:04 +00:00
`pwd`/prid.c `pwd`/GCIPM.c `pwd`/tabgen.c
1987-02-04 12:54:03 +00:00
opr:
make pr | opr
1986-10-20 14:56:37 +00:00
mkdep: mkdep.o
$(CC) $(LDFLAGS) -o mkdep mkdep.o
1988-11-16 09:37:04 +00:00
tabgen: tabgen.o
$(CC) $(LDFLAGS) -o tabgen tabgen.o
1986-11-11 13:42:16 +00:00
cid: cid.o GCIPM.o
$(CC) $(LDFLAGS) -o cid cid.o GCIPM.o
1986-10-20 14:56:37 +00:00
1986-11-11 13:42:16 +00:00
cclash: cclash.o GCIPM.o
$(CC) $(LDFLAGS) -o cclash cclash.o GCIPM.o
prid: prid.o GCIPM.o
$(CC) $(LDFLAGS) -o prid prid.o GCIPM.o