From 59ba041486ff5001b17001f4bd99e78b9fea450e Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Thu, 13 Sep 2018 19:28:01 +0200 Subject: [PATCH] start Makefile for other build targets --- .gitignore | 1 - Makefile | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/.gitignore b/.gitignore index fab0066..b0402ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ *~ *.cache -Makefile build *-linux-* diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..83bd70d --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +all: config build + +.PHONY: build + +config: + test -d build || mkdir build + cd build && cmake .. + +build: + cd build && $(MAKE) VERBOSE=1 + +clean: + cd build && $(MAKE) clean +distclean: + rm -rf build + rm -rf CMakeFiles + -- 2.40.0