-
-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (24 loc) · 638 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (24 loc) · 638 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
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
MAKEFLAGS += --silent
SOURCE_DIR = .
BUILD_DIR = build
# GENERATOR = "MinGW Makefiles"
cmake:
cmake -S $(SOURCE_DIR) -B $(BUILD_DIR) -DCMAKE_BUILD_TYPE=Debug -DTAU_BUILDINTERNALTESTS=On
cmake --build $(BUILD_DIR) --config Debug
echo ------------------ Running Target ------------------
cd build/bin/ ; ./TauInternalTests
.PHONY: cmake
script:
python3 script.py
.PHONY: script
cmakeclean:
rm -rf build/ && mkdir build
.PHONY: cmakeclean
test:
gcc test.c -o test.exe -I .
./test.exe
.PHONY: test