summaryrefslogtreecommitdiff
path: root/2020/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '2020/Makefile')
-rw-r--r--2020/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/2020/Makefile b/2020/Makefile
new file mode 100644
index 0000000..8534f2f
--- /dev/null
+++ b/2020/Makefile
@@ -0,0 +1,11 @@
+CFLAGS += -std=c99 -D_GNU_SOURCE -Wall -Wextra -Wpedantic -Wshadow -O2 -Werror
+
+all: day1
+
+check-day1: day1
+ ./day1 <day1.txt
+
+check: check-day1
+
+clean:
+ rm -f ${DAYS}