Small patch to first clear the suffix list then add only the .o and .c
suffixes in that order. I've included it inline and attached as I'm
still using gmail and I don't trust it to leave inline text alone.

emg



>From 051f20fe06e03dd265122854d733241a7c618923 Mon Sep 17 00:00:00 2001
From: Evan Gates <evan.ga...@gmail.com>
Date: Tue, 18 Nov 2014 12:12:14 -0800
Subject: [PATCH] clear suffix list then add only .o and .c in that order to
 avoid use of builtin .c inference rule skipping .c.o

---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 5357bca..f60985c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
 include config.mk

-.SUFFIXES: .c .o
+.SUFFIXES:
+.SUFFIXES: .o .c

 HDR =\
  arg.h\
-- 
2.1.3
From 051f20fe06e03dd265122854d733241a7c618923 Mon Sep 17 00:00:00 2001
From: Evan Gates <evan.ga...@gmail.com>
Date: Tue, 18 Nov 2014 12:12:14 -0800
Subject: [PATCH] clear suffix list then add only .o and .c in that order to
 avoid use of builtin .c inference rule skipping .c.o

---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 5357bca..f60985c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
 include config.mk
 
-.SUFFIXES: .c .o
+.SUFFIXES:
+.SUFFIXES: .o .c
 
 HDR =\
        arg.h\
-- 
2.1.3

Reply via email to