1985-01-01 18:35:40 +00:00
|
|
|
# $Header$
|
1985-01-01 18:34:12 +00:00
|
|
|
d=../..
|
|
|
|
h=$d/h
|
|
|
|
l=$d/lib
|
|
|
|
|
|
|
|
OBJ=em_mnem.o em_pseu.o em_flag.o em_ptyp.o
|
|
|
|
|
|
|
|
DATA_PATH=em_data.a
|
|
|
|
|
|
|
|
CFLAGS=-O -I$h
|
|
|
|
|
|
|
|
$(DATA_PATH): $(OBJ)
|
|
|
|
ar rv $(DATA_PATH) $(OBJ)
|
1987-02-26 19:41:49 +00:00
|
|
|
-sh -c 'ranlib $(DATA_PATH)'
|
1985-01-01 18:34:12 +00:00
|
|
|
|
|
|
|
em_flag.o: $h/em_flag.h
|
|
|
|
|
|
|
|
em_ptyp.o: $h/em_flag.h $h/em_ptyp.h
|
|
|
|
|
|
|
|
install : $(DATA_PATH)
|
1987-02-26 19:41:49 +00:00
|
|
|
-cmp -s $(DATA_PATH) $l/$(DATA_PATH) || { cp $(DATA_PATH) $l/$(DATA_PATH) ; sh -c 'ranlib $l/$(DATA_PATH)' ; }
|
1985-01-01 18:34:12 +00:00
|
|
|
|
|
|
|
cmp : $(DATA_PATH)
|
|
|
|
cmp $(DATA_PATH) $l/$(DATA_PATH)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJ) $(DATA_PATH) *.old
|
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr ^ opr
|
|
|
|
|
|
|
|
pr:
|
|
|
|
@pr Makefile em_mnem.c em_pseu.c em_flag.c em_ptyp.c
|