mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
catchall for cmake targets
This commit is contained in:
parent
670957ab41
commit
150ca3378d
27
Makefile
27
Makefile
@ -1,13 +1,6 @@
|
||||
all: build
|
||||
|
||||
.PHONY: build
|
||||
build: cmake
|
||||
cd build && make $(MAKEFLAGS)
|
||||
|
||||
.PHONY: cmake
|
||||
cmake:
|
||||
all:
|
||||
mkdir -p build
|
||||
cd build && cmake ..
|
||||
cd build && cmake .. && make $(MAKEFLAGS)
|
||||
|
||||
deps:
|
||||
/bin/bash ./tools/provision.sh
|
||||
@ -19,10 +12,6 @@ distclean:
|
||||
rm -rf doxygen/latex
|
||||
rm -rf packages/darwin/build
|
||||
|
||||
.PHONY: docs
|
||||
docs: cmake
|
||||
cd build && make docs $(MAKEFLAGS)
|
||||
|
||||
format:
|
||||
clang-format -i osquery/**/*.h
|
||||
clang-format -i osquery/**/*.cpp
|
||||
@ -31,12 +20,6 @@ format:
|
||||
clang-format -i osquery/**/**/*.mm
|
||||
clang-format -i tools/*.cpp
|
||||
|
||||
install: cmake
|
||||
cd build && make install $(MAKEFLAGS)
|
||||
|
||||
.PHONY: package
|
||||
package: cmake
|
||||
cd build && make package $(MAKEFLAGS)
|
||||
|
||||
test: build
|
||||
cd build && make test $(MAKEFLAGS)
|
||||
%::
|
||||
mkdir -p build
|
||||
cd build && cmake .. && make $@
|
||||
|
Loading…
Reference in New Issue
Block a user