Browse Source

Fixed for machines without .o

ceriel 31 years ago
parent
commit
0e6e7bc913
2 changed files with 2 additions and 4 deletions
  1. 1 2
      mach/proto/libg/proto.libmon
  2. 1 2
      mach/proto/libg/proto.libsys

+ 1 - 2
mach/proto/libg/proto.libmon

@@ -17,8 +17,7 @@ libmon:		$(SRC_DIR)/libmon_s.a
 		if [ $(SUF) = o ] ; then march $(SRC_DIR) libmon $(SRC_HOME)/mach/proto/libg/compmodule ; else cp $(SRC_DIR)/libmon_s.a libmon ; fi
 
 head:		$(SRC_DIR)/head_em.s
-		$(MACH) -c.$(SUF) $(MACHFL) $(SRC_DIR)/head_em.s
-		mv head_em.$(SUF) head
+		if [ $(SUF) = o ] ; then $(MACH) -c.$(SUF) $(MACHFL) -I$(SRC_DIR) -I$(TARGET_HOME)/h $(SRC_DIR)/head_em.s ; mv head_em.$(SUF) head ; else cp $(SRC_DIR)/head_em.s head ; fi
 
 install:	all
 		cp libmon $(TARGET_HOME)/lib/$(MACH)/tail_mon2

+ 1 - 2
mach/proto/libg/proto.libsys

@@ -17,8 +17,7 @@ libmon:		$(SRC_DIR)/libmon_s.a
 		if [ $(SUF) = o ] ; then march $(SRC_DIR) libmon $(SRC_HOME)/mach/proto/libg/compmodule ; else cp $(SRC_DIR)/libmon_s.a libmon ; fi
 
 head:		$(SRC_DIR)/head_em.s
-		$(MACH) -c.$(SUF) $(MACHFL) -I$(SRC_DIR) -I$(TARGET_HOME)/h $(SRC_DIR)/head_em.s
-		mv head_em.$(SUF) head
+		if [ $(SUF) = o ] ; then $(MACH) -c.$(SUF) $(MACHFL) -I$(SRC_DIR) -I$(TARGET_HOME)/h $(SRC_DIR)/head_em.s ; mv head_em.$(SUF) head ; else cp $(SRC_DIR)/head_em.s head ; fi
 
 install:	all
 		cp libmon $(TARGET_HOME)/lib/$(MACH)/tail_mon