ref: 4d521c0af7bf9278ff10e38434ddb61c80db8861
parent: 234d647354c3d8bb99e8a5b3eb892196c26008c2
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Sep 14 10:35:48 EDT 2017
Fix libscc.a generation rules in Makefiles There was a moment when this dependecy was in the libdep.mk, but it generated problems in the Makefiles because this rule was before all, and after removed it from libdep.mk these Makefiles weren't updated.
--- a/as/Makefile
+++ b/as/Makefile
@@ -14,7 +14,7 @@
as: $(OBJ)
$(CC) $(SCC_LDFLAGS) $(OBJ) -lscc -o $@
-$(LIBDIR)/libscc.a:
+$(LIBDIR)/libscc.a: $(LIB-OBJ)
cd $(LIBDIR) && $(MAKE)
dep:
--- a/cc1/Makefile
+++ b/cc1/Makefile
@@ -20,7 +20,7 @@
cpp.o: stallman.msg
-$(LIBDIR)/libscc.a:
+$(LIBDIR)/libscc.a: $(LIB-OBJ)
cd $(LIBDIR) && $(MAKE)
dep:
--- a/cc2/Makefile
+++ b/cc2/Makefile
@@ -19,7 +19,7 @@
dep:
MKQBE=${MKQBE} ./gendep.sh $(TARGETS)
-$(LIBDIR)/libscc.a:
+$(LIBDIR)/libscc.a: $(LIB-OBJ)
cd $(LIBDIR) && $(MAKE)
main.o: error.h