Browse Source

Adapted to new assembler producing .o files

ceriel 37 years ago
parent
commit
81d22e5f3b
1 changed files with 24 additions and 9 deletions
  1. 24 9
      mach/i80/libem/Makefile

+ 24 - 9
mach/i80/libem/Makefile

@@ -1,14 +1,29 @@
-install:	tail
-		../../install tail tail_em
+# $Header$
+MACH=i80
+all:		libem_o.a end.o
 
-cmp:		tail
-		-../../compare tail tail_em
+install: 	all
+		../../install end.o end_em
+		../../install libem_o.a tail_em
 
-tail:
-		arch cr `cat LIST`
 
-opr:
+cmp:		all
+		-../../compare end.o end_em
+		-../../compare libem_o.a tail_em
+
+libem_o.a:	libem_s.a
+		ASAR=aal ; export ASAR ;\
+		march . libem_o.a
+
+end.o:		end.s
+		$(MACH) -I../../../h -c end.s
+
+clean:
+		rm -f *.o libem_o.a
+
+opr :
 		make pr | opr
+
 pr:
-		@pr `pwd`/Makefile
-		@pr -l33 `tail +1 LIST|sort`
+		@pr `pwd`/end.s
+		@arch pv libem_s.a | pr -h `pwd`/libem_s.a