Skip to content

Commit 95ab74f

Browse files
committed
changes from local
1 parent f05f677 commit 95ab74f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+8529
-8426
lines changed

Makefile

+34-34
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
# Makefile (Win64) for compiling test.cpp and running a.exe
2-
3-
# Compiler
4-
CXX = g++
5-
6-
# Compiler flags
7-
CXXFLAGS = -Wall -Wextra -std=c++17 -D_INPUT
8-
9-
# Source file
10-
SRC = test.cpp
11-
12-
# Input file
13-
INP = inp.txt
14-
15-
# Output executable
16-
EXEC = a.exe
17-
18-
# Default target
19-
all: $(EXEC)
20-
21-
# Rule to build the executable
22-
$(EXEC): $(SRC)
23-
@$(CXX) $(CXXFLAGS) -o $(EXEC) $(SRC)
24-
25-
# Rule to run the executable
26-
run: $(EXEC)
27-
@./$(EXEC) < $(INP)
28-
29-
# Clean target to remove the executable
30-
clean:
31-
rm -rf $(EXEC) *.o
32-
33-
# Phony targets
34-
.PHONY: all run clean
1+
# Makefile (Win64) for compiling test.cpp and running a.exe
2+
3+
# Compiler
4+
CXX = g++
5+
6+
# Compiler flags
7+
CXXFLAGS = -Wall -Wextra -std=c++17 -D_INPUT
8+
9+
# Source file
10+
SRC = test.cpp
11+
12+
# Input file
13+
INP = inp.txt
14+
15+
# Output executable
16+
EXEC = a.exe
17+
18+
# Default target
19+
all: $(EXEC)
20+
21+
# Rule to build the executable
22+
$(EXEC): $(SRC)
23+
@$(CXX) $(CXXFLAGS) -o $(EXEC) $(SRC)
24+
25+
# Rule to run the executable
26+
run: $(EXEC)
27+
@./$(EXEC) < $(INP)
28+
29+
# Clean target to remove the executable
30+
clean:
31+
rm -rf $(EXEC) *.o
32+
33+
# Phony targets
34+
.PHONY: all run clean

0 commit comments

Comments
 (0)