ref: d0720d7256ca38eff6ebbd298d5f0e731d716207
parent: a4f55bc2a984f51aa2afef82f7f6257dece7a09d
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Jan 4 12:13:06 EST 2019
[ar] Include it in all target
--- a/src/Makefile
+++ b/src/Makefile
@@ -3,7 +3,7 @@
PROJECTDIR = ..
include $(PROJECTDIR)/scripts/rules.mk
-TOOLS = cc1 cc2 ld as nm objdump
+TOOLS = cc1 cc2 ld as nm objdump ar
LIBS = libscc libc libcrt libmach
DIRS = $(TOOLS) $(LIBS)
--- a/src/ar/deps.mk
+++ b/src/ar/deps.mk
@@ -1,5 +1,5 @@
#deps
-main.o: $(INCDIR)/scc/ar.h
-main.o: $(INCDIR)/scc/arg.h
-main.o: $(INCDIR)/scc/scc.h
+main.o: $(INCDIR)/scc/scc/ar.h
+main.o: $(INCDIR)/scc/scc/arg.h
+main.o: $(INCDIR)/scc/scc/scc.h
posix/driver.o: posix/driver.h