Debian Codegraph @

Makefile

raw symbols SCIP
1 # Makefile - Part of NotedELN, (C) Daniel Wagenaar 2021–2025
2
3 # This Makefile acts as a frontend to the CMake build process
4 # On Windows, "make" may not be available, and you will need
5 # to run the "cmake" calls in "prep-release" and "release"
6 # manually.
7
8
9 ######################################################################
10 ALL: release
11
12 # Release build
13 prep-release:
14 +cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
15
16 release: prep-release
17 +cmake --build build --config Release
18
19 # Debug build
20 prep-debug:
21 +cmake -S . -B build-debug -DCMAKE_BUILD_TYPE=Debug
22
23 debug: prep-debug
24 +cmake --build build-debug --config Debug
25
26 # Debian/Ubuntu/etc packaging
27 deb: release
28 (cd build; cpack )
29
30 # Mac OS packaging
31 dmg: release
32 make -C build dmg
33
34 # Source tarball packaging
35 tar:; git archive -o ../notedeln.tar.gz --prefix=notedeln/ HEAD
36
37 # Cleaning
38 clean:; rm -rf build build-debug
39
40 ######################################################################
41 .PHONY: ALL release prep-release debug prep-debug clean tar deb dmg