aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 15 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 5f2da78..dd82ce3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,19 @@
+.PHONY: clean build
+
+all: build
-.PHONY: build
build:
- mkdir -p build
- cd build/ && cmake ..
- cd build/ && make
+ @mkdir -p build
+ @cd build/ && cmake .. && make
+ # cp --no-preserve=mode,ownership -r ${CEF_PACKAGE_PATH}/lib/* ./build/lib/
+ # cp --no-preserve=mode,ownership -r ${CEF_PACKAGE_PATH}/share/cef/* ./build/lib/
cp build/compile_commands.json .
+clean:
+ rm -rf build/
+ rm -f compile_commands.json
+
+run:
+ ./build/web-browser
+
+# -DCMAKE_BUILD_TYPE=Release