-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (20 loc) · 721 Bytes
/
Makefile
File metadata and controls
34 lines (20 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
BUILDDIR=build
.PHONY: tests
all: libs tests
libs: calc_lib credit_lib deposit_lib
calc_lib:
cmake . -G "Unix Makefiles" -B $(BUILDDIR) && \
cmake --build $(BUILDDIR) --target CalculationLib --config=Release
credit_lib:
cmake . -G "Unix Makefiles" -B $(BUILDDIR) && \
cmake --build $(BUILDDIR) --target CreditLib --config=Release
deposit_lib:
cmake . -G "Unix Makefiles" -B $(BUILDDIR) && \
cmake --build $(BUILDDIR) --target DepositLib --config=Release
tests:
cmake . -G "Unix Makefiles" -B $(BUILDDIR) && \
cmake --build $(BUILDDIR) --target CalculationAlgorithmTests --config=RelWithDebInfo
style:
clang-format -i --verbose --style=Webkit *.cpp Model/*.cpp Model/*.h
clean:
rm -rf $(BUILDDIR)