ack/util/int/switch/Makefile

55 lines
824 B
Makefile
Raw Normal View History

1988-06-22 16:22:00 +00:00
# $Header$
EM = ../../..
IP_SPEC = $(EM)/etc/ip_spec.t
CFLAGS = -I$(EM)
1988-06-22 16:22:00 +00:00
SRC = mkiswitch.c mkswitch.c
OBJ = mkiswitch.o mkswitch.o
1988-06-22 16:22:00 +00:00
mkiswitch: mkiswitch.o
$(CC) -o mkiswitch mkiswitch.o $(EM)/lib/em_data.a
1988-06-22 16:22:00 +00:00
mkswitch: mkswitch.o
$(CC) -o mkswitch mkswitch.o
DoCases: mkiswitch $(IP_SPEC)
mkiswitch Do $(IP_SPEC) DoCases
1988-06-22 16:22:00 +00:00
wc DoCases
PrCases: mkswitch $(IP_SPEC)
mkswitch Pr $(IP_SPEC) PrCases
wc PrCases
lint:
lint $(SRC)
1988-06-27 10:58:44 +00:00
distr: .distr
1988-06-22 16:22:00 +00:00
.distr: Makefile
echo READ_ME Makefile $(SRC) | tr ' ' '\012' >.distr
.SUFFIXES: .o
.c.o:
$(CC) $(CFLAGS) -c $<
clean: # NOT the cases files !
rm -f a.out core $(OBJ) mkswitch mkiswitch
1988-06-22 16:22:00 +00:00
bare: clean
rm -f DoCases PrCases
1988-06-22 16:22:00 +00:00
1988-06-27 10:58:44 +00:00
all: mkswitch
install:
echo "Nothing to install"
cmp:
echo "Nothing to compare"
pr:
@pr READ_ME Makefile $(SRC)
opr:
make pr | opr