diff --git a/Bootloaders/makefile b/Bootloaders/makefile
index 56db658088f14e8f38ab1b2ee222765064e17ebf..0c183e73ecc5db50a3c9443dd177185141965deb 100644
--- a/Bootloaders/makefile
+++ b/Bootloaders/makefile
@@ -13,7 +13,7 @@
 # custom LUFA library build options are reflected in the compiled
 # code.
 
-PROJECT_DIRECTORIES = $(shell ls -d *)
+PROJECT_DIRECTORIES = $(shell ls -d */)
 
 # This makefile is potentially infinitely recursive if something really bad
 # happens when determining the set of project directories - hard-abort if
diff --git a/Demos/Device/LowLevel/makefile b/Demos/Device/LowLevel/makefile
index 639b253032eff242c6a523397f0dcc7d7e2c4962..99e7c24a15846b438409dae8ea5fc2a640fdcf86 100644
--- a/Demos/Device/LowLevel/makefile
+++ b/Demos/Device/LowLevel/makefile
@@ -13,7 +13,7 @@
 # custom LUFA library build options are reflected in the compiled
 # code.
 
-PROJECT_DIRECTORIES = $(shell ls -d *)
+PROJECT_DIRECTORIES = $(shell ls -d */)
 
 # This makefile is potentially infinitely recursive if something really bad
 # happens when determining the set of project directories - hard-abort if
diff --git a/Demos/DualRole/ClassDriver/makefile b/Demos/DualRole/ClassDriver/makefile
index ecc49ec89578f470f8d19f17cf17332b066f99ab..a6ccbf1c34d7e6b7616068ebe6fa1e7487ee471b 100644
--- a/Demos/DualRole/ClassDriver/makefile
+++ b/Demos/DualRole/ClassDriver/makefile
@@ -13,7 +13,7 @@
 # custom LUFA library build options are reflected in the compiled
 # code.
 
-PROJECT_DIRECTORIES = $(shell ls -d *)
+PROJECT_DIRECTORIES = $(shell ls -d */)
 
 # This makefile is potentially infinitely recursive if something really bad
 # happens when determining the set of project directories - hard-abort if
diff --git a/Demos/Host/ClassDriver/makefile b/Demos/Host/ClassDriver/makefile
index 25cfedf1a5a26e249e85ebc84d49a845eecd2bae..776fa18dc77b7c5f8857e098ac0769da2ec0f68e 100644
--- a/Demos/Host/ClassDriver/makefile
+++ b/Demos/Host/ClassDriver/makefile
@@ -13,7 +13,7 @@
 # custom LUFA library build options are reflected in the compiled
 # code.
 
-PROJECT_DIRECTORIES = $(shell ls -d *)
+PROJECT_DIRECTORIES = $(shell ls -d */)
 
 # This makefile is potentially infinitely recursive if something really bad
 # happens when determining the set of project directories - hard-abort if
diff --git a/Demos/Host/LowLevel/makefile b/Demos/Host/LowLevel/makefile
index 25cfedf1a5a26e249e85ebc84d49a845eecd2bae..776fa18dc77b7c5f8857e098ac0769da2ec0f68e 100644
--- a/Demos/Host/LowLevel/makefile
+++ b/Demos/Host/LowLevel/makefile
@@ -13,7 +13,7 @@
 # custom LUFA library build options are reflected in the compiled
 # code.
 
-PROJECT_DIRECTORIES = $(shell ls -d *)
+PROJECT_DIRECTORIES = $(shell ls -d */)
 
 # This makefile is potentially infinitely recursive if something really bad
 # happens when determining the set of project directories - hard-abort if
diff --git a/Projects/makefile b/Projects/makefile
index 94deb0ed310347494a772c502b47295da176f6bf..5c30bc9812ea8f3c2ad55e7ee6a36f11f862d821 100644
--- a/Projects/makefile
+++ b/Projects/makefile
@@ -13,7 +13,7 @@
 # custom LUFA library build options are reflected in the compiled
 # code.
 
-PROJECT_DIRECTORIES = $(shell ls -d *)
+PROJECT_DIRECTORIES = $(shell ls -d */)
 
 # This makefile is potentially infinitely recursive if something really bad
 # happens when determining the set of project directories - hard-abort if