summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/make.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/make.inc b/tools/make.inc
index f83be79..1c7b762 100644
--- a/tools/make.inc
+++ b/tools/make.inc
@@ -8,12 +8,15 @@ $(OBJDIR)/%.o: %.S
@echo "CC $<"
@$(CC) $(CFLAGS) -c $< -o $@
+# the lame echo stuff down here is to prevent any compiler errors/warnings
+# to cause an error code to get returned and thus stop the build
$(DEPFILE): $(SOURCES)
@rm -f $(DEPFILE)
@(for each in $(SOURCES); do \
obj=`echo $$each | sed -e 's/\.c/.o/'`; \
$(CC) -MM -MT "$(OBJDIR)/$$obj.o" $(CFLAGS) $$each >> $(DEPFILE) 2>/dev/null; \
- done )
+ done; \
+ echo "oo" >/dev/null )
tags:
@(for d in $(DIRS); do \