aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorEliteTK <tomasz.kramkowski@gmail.com>2014-09-23 19:50:14 +0100
committerEliteTK <tomasz.kramkowski@gmail.com>2014-09-23 19:50:14 +0100
commit6bfc2a4830b041cd2dc93dfb932f5f56b88981da (patch)
tree291d01dc809a6c6992cb557e0f87dbef87b9ad90 /makefile
parent0a23128c376540cd139dde19a1f09ae40617e670 (diff)
downloadc-stuff-6bfc2a4830b041cd2dc93dfb932f5f56b88981da.tar.gz
c-stuff-6bfc2a4830b041cd2dc93dfb932f5f56b88981da.tar.xz
c-stuff-6bfc2a4830b041cd2dc93dfb932f5f56b88981da.zip
Fixed .gitignore, added makefile and license, updated timer.
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 $@ $^