ack/mach/sun3/ce/Makefile

39 lines
756 B
Makefile
Raw Normal View History

1988-09-28 16:47:47 +00:00
EMHOME=../../..
BACK=$(EMHOME)/lib/ceg/ce_back
1989-01-27 12:02:55 +00:00
CEG = $(EMHOME)/lib/ceg/util
AR = ar
1988-09-28 16:47:47 +00:00
1989-01-27 12:02:55 +00:00
all: back.a
make -f $(CEG)/make_own
1988-10-31 15:02:39 +00:00
1989-01-27 12:02:55 +00:00
install: back.a
make -f $(CEG)/make_own install
1988-09-28 16:47:47 +00:00
1989-01-27 12:02:55 +00:00
cmp: back.a
-make -f $(CEG)/make_own cmp
pr:
@pr Makefile EM_table mach.h mach.c as_table as.h as.c \
Make.back do_close.c do_open.c end_back.c misc.c output.c relocation.c
opr:
make pr | opr
# total cleanup
1988-09-28 16:47:47 +00:00
clean:
1989-01-27 12:02:55 +00:00
make -f $(CEG)/make_own clean
rm -rf back back.a
# only remove ce, ceg, and back directories
dclean:
make -f $(CEG)/make_own dclean
rm -rf back
1988-09-28 16:47:47 +00:00
back.a: do_close.c do_open.c end_back.c misc.c output.c relocation.c
1988-09-28 16:47:47 +00:00
-mkdir back
cp $(BACK)/obj_back/*h back
cp Make.back back/Makefile
1989-01-27 12:02:55 +00:00
cd back; make ; cd ..
$(AR) r back.a back/*o;
1989-01-27 12:02:55 +00:00
-sh -c 'ranlib back.a'