ack/util/cmisc/Makefile

41 lines
913 B
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
LDFLAGS =
1986-11-11 13:42:16 +00:00
TARGETS = mkdep cid cclash prid
1986-10-20 14:56:37 +00:00
1987-02-04 12:51:31 +00:00
all: mkdep cid cclash prid
1986-10-20 14:56:37 +00:00
install: all
1987-02-04 12:51:31 +00:00
rm -f $(EMBIN)/mkdep $(EMBIN)/cid $(EMBIN)/cclash $(EMBIN)/prid
cp mkdep cid cclash prid $(EMBIN)
rm -f $(EMMAN)/mkdep.1 $(EMMAN)/cid.1 $(EMMAN)/cclash.1 $(EMMAN)/prid.1
cp mkdep cid cclash prid $(EMBIN)
cp mkdep.1 cid.1 cclash.1 prid.1 $(EMMAN)
cmp: all
-cmp mkdep $(EMBIN)/mkdep
-cmp cid $(EMBIN)/cid
-cmp cclash $(EMBIN)/cclash
-cmp prid $(EMBIN)/prid
-cmp mkdep.1 $(EMMAN)/mkdep.1
-cmp cid.1 $(EMMAN)/cid.1
-cmp cclash.1 $(EMMAN)/cclash.1
-cmp prid.1 $(EMMAN)/prid.1
1986-10-20 14:56:37 +00:00
clean:
1987-02-04 12:51:31 +00:00
rm -f *.o mkdep cid cclash prid
1986-10-20 14:56:37 +00:00
mkdep: mkdep.o
$(CC) $(LDFLAGS) -o mkdep mkdep.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