Skip to content

Commit c3058dc

Browse files
committed
clean makefile
1 parent b19c40a commit c3058dc

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

Makefile

-31
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,3 @@
1-
.PHONY: all
2-
all: format test build
3-
41
.PHONY: format
52
format:
63
clang-format src/**/*.cpp src/*.cpp -i
7-
8-
.PHONY: build
9-
build:
10-
mkdir -p build
11-
cd build && \
12-
cmake .. && \
13-
make
14-
15-
.PHONY: run
16-
run:
17-
cd build && \
18-
./membot
19-
20-
.PHONY: debug
21-
debug:
22-
mkdir -p build
23-
cd build && \
24-
cmake -DCMAKE_BUILD_TYPE=debug .. && \
25-
make
26-
27-
.PHONY: valgrind
28-
valgrind:
29-
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --log-file=~/valgrind-out.txt <add command here>
30-
31-
32-
.PHONY: clean
33-
clean:
34-
rm -rf build

0 commit comments

Comments
 (0)