aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: dd82ce3fab308eb20f41d0cda88909d3ac0678c7 (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
	# 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