From f16fdf4e7f0bac4cf3ed832c64db754c8edf3549 Mon Sep 17 00:00:00 2001 From: sater Date: Thu, 19 Jul 1984 13:11:36 +0000 Subject: [PATCH] makefile adapted to new style archive handling, RCS and all that --- mach/pdp/libem/Makefile | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/mach/pdp/libem/Makefile b/mach/pdp/libem/Makefile index 7bc76fc01..b0c1526db 100644 --- a/mach/pdp/libem/Makefile +++ b/mach/pdp/libem/Makefile @@ -12,28 +12,21 @@ cmp: all cmp tail_em $l/tail_em rm -f head_em tail_em +distr: + arch cr `head -1 LIST` `tail +2 LIST` + all: head_em tail_em head_em: head_em.s pdp -c head_em.s ; mv head_em.o head_em -tail_em: tail_em.s.a - mkdir tmp; \ - cd tmp; \ - ar x ../tail_em.s.a; \ - for i in *.s; \ - do \ - pdp -c $$i; \ - done; \ - ar cr tail.a `lorder *.o | tsort`; \ - cp tail.a ../tail_em; \ - cd ..; \ - rm -r tmp +tail_em: + march . tail_em clean: - -rm -f `ar t tail_em.s.a` ; rm -rf temp ; rm -f *.o + rm -f *.o opr: make pr | opr pr: @pr `pwd`/Makefile `pwd`/head_em.s - @ar pv tail_em.s.a | pr -h `pwd`/tail_em.s.a + pr -l33 `tail +1 LIST|sort`