Skip to content

Commit 4626968

Browse files
committed
Fixing Makefile and gitignore
1 parent 242430b commit 4626968

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ Cargo.lock
4242
main1
4343
main2
4444

45-
*/*/input1
46-
*/*/input2
45+
*/*/input
4746
*/*/assignment
4847
*/*/output1
4948
*/*/output2

2024/6/Makefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ input:
22
http "https://adventofcode.com/2024/day/6/input" "Cookie:session=${AOC_SESSION};" >input
33

44
main1:
5-
go build -o main1 main1.go
5+
go build -o main1 main1.go common.go
66

77
main2:
8-
go build -o main2 main2.go
8+
go build -o main2 main2.go common.go
99

1010
.PHONY: run1 run2 clean
1111

@@ -17,4 +17,3 @@ run2: main2 input
1717

1818
clean:
1919
rm -f main1 main2 input
20-

0 commit comments

Comments
 (0)