From 00aaf1cb410aceb39b578925b072d855a2ce9b78 Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Sun, 3 Jun 2012 14:32:29 +0000
Subject: [PATCH] Disable inbuilt make rules in the LUFA build system for
 speedups when compiling many projects recursively.

---
 LUFA/Build/lufa.core.in | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/LUFA/Build/lufa.core.in b/LUFA/Build/lufa.core.in
index d111aad71..13372c454 100644
--- a/LUFA/Build/lufa.core.in
+++ b/LUFA/Build/lufa.core.in
@@ -102,4 +102,8 @@ list_optional:
 	@echo Optional Variables for Included Modules: $(SORTED_LUFA_OPTIONAL_VARS)
 
 # Phony build targets for this module
-.PHONY: help list_modules list_targets list_mandatory list_optional
\ No newline at end of file
+.PHONY: help list_modules list_targets list_mandatory list_optional
+
+# Disable default in-built make rules (those that are needed are explicitly
+# defined, and doing so has performance benefits when recursively building)
+.SUFFIXES:
-- 
GitLab