ack/util/int/switch/Makefile
1988-06-22 16:22:00 +00:00

35 lines
530 B
Makefile

# $Header$
IP_SPEC = /usr/em/etc/ip_spec.t
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)
.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