summarylogtreecommitdiffstats
path: root/use_implicit_rule.patch
diff options
context:
space:
mode:
Diffstat (limited to 'use_implicit_rule.patch')
-rw-r--r--use_implicit_rule.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/use_implicit_rule.patch b/use_implicit_rule.patch
new file mode 100644
index 000000000000..51f57c88f111
--- /dev/null
+++ b/use_implicit_rule.patch
@@ -0,0 +1,11 @@
+diff --git a/Makefile b/Makefile
+index 9bb8efa..867316b 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,5 +1,4 @@
+-exchange: exchange.c
+- gcc -O2 -Wall -pedantic -std=c11 -Werror -o exchange $^
++exchange: exchange.o
+
+ .PHONY: clean install
+