We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 231365f commit b91dc8dCopy full SHA for b91dc8d
Makefile
@@ -12,6 +12,9 @@ run-%-1: src/%-1
12
run-%-2: src/%-2
13
./$< < in/$(@:run-%-2=%)
14
15
+run-stdin-%: src/%
16
+ ./$<
17
+
18
clean:
19
find src/ -type f ! -name "*.*" -delete
20
README.md
@@ -0,0 +1,27 @@
1
+## Buld and Run
2
3
+`make run-x-y`
4
5
+where x is the day and y is the part
6
7
+## Build
8
9
+`make src/x-y`
10
11
+## Build all
+`make`
+## Run With custom input
+`make run-stdin-x-y < input_file`
21
22
23
+## Run Executable Directly
24
25
+`src/x-y < input file`
26
27
+this does not automatically rebuild when the code changes
0 commit comments