aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 88eeefa50ff0cdf1ab7fa076c1eb47e4319a0f3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.PHONY: clean build

all: build

build:
	@mkdir -p build
	@cd build/ && cmake .. && make -j4
	# 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