forked from LeMonADE-project/LeMonADE-Viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (19 loc) · 617 Bytes
/
Makefile
File metadata and controls
25 lines (19 loc) · 617 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
##############################################################
# CMake Project Wrapper Makefile #
##############################################################
SHELL := /bin/bash
RM := rm -rf
all: ./build/Makefile
@ $(MAKE) -C build
./build/Makefile:
@ (cd build >/dev/null 2>&1 && cmake ..)
clean:
@- (cd build >/dev/null 2>&1 && cmake .. >/dev/null 2>&1)
@- $(MAKE) --silent -C build clean || true
@- $(RM) ./build/Makefile
@- $(RM) ./build/src
@- $(RM) ./build/test
@- $(RM) ./build/CMake*
@- $(RM) ./build/cmake.*
@- $(RM) ./build/*.cmake
@- $(RM) ./build/*.txt