ack/util/ass/Makefile

77 lines
1.7 KiB
Makefile
Raw Normal View History

1984-11-08 12:08:31 +00:00
# $Header$
1984-07-02 15:35:56 +00:00
d=../..
l=$d/lib
h=$d/h
1987-02-24 16:07:04 +00:00
m=$d/man
1984-07-02 15:35:56 +00:00
ASS_PATH=$l/em_ass
CFLAGS=-O
1988-07-08 11:37:17 +00:00
all: ass
1984-07-02 15:35:56 +00:00
clean:
1988-07-08 11:37:17 +00:00
-rm -f ass *.o maktab *.old asstb.c
1984-07-02 15:35:56 +00:00
install : all
1987-02-24 16:07:04 +00:00
rm -f $(ASS_PATH)
1988-07-08 11:37:17 +00:00
cp ass $(ASS_PATH)
1987-02-24 16:07:04 +00:00
rm -f $m/em_ass.6
cp em_ass.6 $m/em_ass.6
1984-07-02 15:35:56 +00:00
cmp : all
1988-07-08 11:37:17 +00:00
-cmp ass $(ASS_PATH)
1987-02-24 16:07:04 +00:00
-cmp em_ass.6 $m/em_ass.6
1984-07-02 15:35:56 +00:00
lint: ass00.c ass30.c ass40.c ass50.c ass60.c ass70.c \
ass80.c assci.c assda.c assrl.c asstb.c asscm.c
lint -hpvbx \
ass00.c ass30.c ass40.c ass50.c ass60.c ass70.c \
ass80.c assci.c assda.c assrl.c asstb.c asscm.c
1988-07-08 11:37:17 +00:00
ass: ass00.o ass30.o ass40.o ass50.o ass60.o ass70.o \
1984-07-02 15:35:56 +00:00
ass80.o assci.o assda.o assrl.o asstb.o asscm.o \
$l/em_data.a
1991-02-19 16:51:50 +00:00
$(CC) $(CFLAGS) -o ass \
1984-07-02 15:35:56 +00:00
ass00.o ass30.o ass40.o ass50.o ass60.o ass70.o \
ass80.o assci.o assda.o assrl.o asstb.o asscm.o \
$l/em_data.a
ass00.o ass40.o ass60.o ass70.o ass80.o assrl.o: \
1984-07-02 15:35:56 +00:00
$h/local.h $h/em_spec.h $h/as_spec.h \
$h/em_flag.h $h/arch.h ass00.h assex.h
assci.o: $h/local.h $h/em_spec.h $h/as_spec.h \
$h/em_flag.h $h/em_mes.h $h/em_pseu.h \
$h/em_ptyp.h $h/arch.h ass00.h assex.h
ass30.o ass50.o : \
$h/local.h $h/em_spec.h $h/as_spec.h \
$h/em_flag.h ip_spec.h ass00.h assex.h
ass80.o: $h/em_path.h
assda.o: $h/local.h $h/em_spec.h $h/as_spec.h \
$h/em_flag.h $h/arch.h ass00.h
asscm.o: ass00.h
asstb.o: asstb.c
asstb.c: maktab $d/etc/ip_spec.t
maktab $d/etc/ip_spec.t asstb.c
1984-07-02 15:35:56 +00:00
maktab: maktab.c $h/em_spec.h ip_spec.h $h/em_flag.h \
$l/em_data.a
1988-07-08 11:37:17 +00:00
$(CC) -O -o maktab maktab.c $l/em_data.a
1984-07-02 15:35:56 +00:00
asprint: asprint.p
apc -w -o asprint asprint.p
1984-07-02 15:35:56 +00:00
opr:
make pr ^ opr
pr:
@(pr ass00.h assex.h ip_spec.h ass?0.c ass[rcd]?.c \
maktab.c)