commit c01d1eb8e78865be5a2c83944539f13974c008b1
parent f88e9e2cd64fa2907c4f9e66747ea78c6f9a24c2
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Thu, 14 Sep 2017 14:35:48 +0100
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.
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/as/Makefile b/as/Makefile
@@ -14,7 +14,7 @@ $(OBJ): $(HDR)
as: $(OBJ)
$(CC) $(SCC_LDFLAGS) $(OBJ) -lscc -o $@
-$(LIBDIR)/libscc.a:
+$(LIBDIR)/libscc.a: $(LIB-OBJ)
cd $(LIBDIR) && $(MAKE)
dep:
diff --git a/cc1/Makefile b/cc1/Makefile
@@ -20,7 +20,7 @@ all:
cpp.o: stallman.msg
-$(LIBDIR)/libscc.a:
+$(LIBDIR)/libscc.a: $(LIB-OBJ)
cd $(LIBDIR) && $(MAKE)
dep:
diff --git a/cc2/Makefile b/cc2/Makefile
@@ -19,7 +19,7 @@ all:
dep:
MKQBE=${MKQBE} ./gendep.sh $(TARGETS)
-$(LIBDIR)/libscc.a:
+$(LIBDIR)/libscc.a: $(LIB-OBJ)
cd $(LIBDIR) && $(MAKE)
main.o: error.h