ack/util/int/switch/Makefile

50 lines
686 B
Makefile
Raw Normal View History

1988-06-22 16:22:00 +00:00
# $Header$
1988-06-27 10:58:44 +00:00
IP_SPEC = ../../../etc/ip_spec.t
1988-06-22 16:22:00 +00:00
SRC = mkswitch.c
OBJ = mkswitch.o
mkswitch: $(OBJ)
$(CC) -o mkswitch $(OBJ)
DoCases: mkswitch $(IP_SPEC)
mkswitch Do $(IP_SPEC) DoCases
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 !
/bin/rm -f a.out core $(OBJ) mkswitch
bare: clean
/bin/rm -f DoCases PrCases
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