aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..184f8be
--- /dev/null
+++ b/makefile
@@ -0,0 +1,7 @@
+CFLAGS = -O2 -std=C11
+
+all:
+ echo "You did it wrong, you're supposed to give me a file to compile."
+
+% : %.c
+ $(CC) $(CFLAGS) -o $@ $^