summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/defaults/apps.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py
index 7e9fe385..5ffbdaf5 100644
--- a/ranger/defaults/apps.py
+++ b/ranger/defaults/apps.py
@@ -58,6 +58,9 @@ class CustomApplications(Applications):
 		"""How to determine the default application?"""
 		f = c.file
 
+		if f.basename.lower() == 'makefile':
+			return self.app_make(c)
+
 		if f.extension is not None:
 			if f.extension in ('pdf', ):
 				c.flags += 'd'