mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
e69007d81a
This reverts commit 28dd7a68f9
.
37 lines
630 B
Makefile
37 lines
630 B
Makefile
all: build
|
|
|
|
.PHONY: build
|
|
build:
|
|
mkdir -p build
|
|
cd build && cmake .. && make $(MAKEFLAGS)
|
|
|
|
.PHONY: docs
|
|
docs:
|
|
mkdir -p build
|
|
cd build && cmake .. && make docs $(MAKEFLAGS)
|
|
|
|
deps:
|
|
/bin/bash ./tools/provision.sh
|
|
git submodule init
|
|
git submodule update
|
|
|
|
distclean:
|
|
rm -rf build
|
|
rm -rf .sources
|
|
|
|
format:
|
|
clang-format -i osquery/**/*.h
|
|
clang-format -i osquery/**/*.cpp
|
|
clang-format -i osquery/**/*.mm
|
|
clang-format -i tools/*.cpp
|
|
|
|
install:
|
|
cd build && cmake .. && make install $(MAKEFLAGS)
|
|
|
|
.PHONY: package
|
|
package:
|
|
cd build && cmake .. && make package $(MAKEFLAGS)
|
|
|
|
test:
|
|
cd build && cmake .. && make test $(MAKEFLAGS)
|