aboutsummaryrefslogtreecommitdiff
path: root/advent-of-code/2023/03/Makefile
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2024-01-27 14:02:35 +0800
committerMistivia <i@mistivia.com>2024-01-27 14:02:35 +0800
commit6580dcd9127f69aaa794472ec92bc46015dc4019 (patch)
treedc2c7e102c75180f7bd98c2f3a14f8b55f83c0f2 /advent-of-code/2023/03/Makefile
init
Diffstat (limited to 'advent-of-code/2023/03/Makefile')
-rw-r--r--advent-of-code/2023/03/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/advent-of-code/2023/03/Makefile b/advent-of-code/2023/03/Makefile
new file mode 100644
index 0000000..44480b6
--- /dev/null
+++ b/advent-of-code/2023/03/Makefile
@@ -0,0 +1,14 @@
+all: run
+
+run: part1 part2
+ ./part1
+ ./part2
+
+part1: part1.c
+ gcc -g -I../lib/ ../lib/*.c part1.c -o part1
+
+part2: part2.c
+ gcc -g -I../lib/ ../lib/*.c part2.c -o part2
+
+clean:
+ rm part1 part2