osquery-1/Makefile

21 lines
407 B
Makefile
Raw Normal View History

PLATFORM := $(shell uname -s)
ifeq ($(PLATFORM),Darwin)
BUILD_DIR=build/darwin
else
BUILD_DIR=build/linux
endif
2014-09-24 04:27:36 +00:00
all:
mkdir -p $(BUILD_DIR)
cd $(BUILD_DIR) && cmake ../.. && make --no-print-directory $(MAKEFLAGS)
deps:
2014-09-24 05:19:53 +00:00
./tools/provision.sh
distclean:
rm -rf .sources $(BUILD_DIR) doxygen/html doxygen/latex
2014-09-24 04:27:36 +00:00
%::
mkdir -p $(BUILD_DIR)
cd $(BUILD_DIR) && cmake ../.. && make --no-print-directory $@