-
Notifications
You must be signed in to change notification settings - Fork 19
/
Makefile
41 lines (36 loc) · 981 Bytes
/
Makefile
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
35
36
37
38
39
40
.PHONY: all test vendor clean
all:
cd build; cmake ${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX=$(CURDIR) ..; make all install
test: all
cd tests/build; cmake ${CMAKE_ARGS} ..; make
./tests/build/tests ${TEST_ARGS}
vendor:
cd vendor; cmake ${CMAKE_ARGS} .; make
clean:
rm -f build/*.*
rm -f build/Makefile
rm -f -r build/CMake*
rm -f lib/*.*
rm -f tests/build/*.*
rm -f tests/build/Makefile
rm -f -r tests/build/CMake*
rm -f vendor/CMakeCache.txt
rm -f vendor/cmake_install.cmake
rm -f vendor/Makefile
rm -f -r vendor/CMakeFiles
rm -f -r vendor/curl/include
rm -f -r vendor/curl/lib
rm -f -r vendor/curl/src
rm -f -r vendor/curl/tmp
rm -f -r vendor/gtest/include
rm -f -r vendor/gtest/lib
rm -f -r vendor/gtest/src
rm -f -r vendor/gtest/tmp
rm -f -r vendor/iconv/include
rm -f -r vendor/iconv/lib
rm -f -r vendor/iconv/src
rm -f -r vendor/iconv/tmp
rm -f -r vendor/yajl/include
rm -f -r vendor/yajl/lib
rm -f -r vendor/yajl/src
rm -f -r vendor/yajl/tmp