forked from cztomczak/cefcapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
15 lines (14 loc) · 731 Bytes
/
Copy pathMakefile
File metadata and controls
15 lines (14 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
info:
@echo "Use 'make gtk2' for GTK+ 2 example, or 'make gtk3' for GTK+ 3 example."
gtk2:
@echo "----------------------------------------------------------------------"
@rm -f Release/cefcapi-gtk2
@clear
gcc -std=c99 -Wall -Werror -o Release/cefcapi-gtk2 -I. -I.. -Wl,-rpath,. -L./Release examples/main_linux.c -lX11 -lcef `pkg-config --libs --cflags gtk+-2.0`
cd Release/ && ./cefcapi-gtk2 && cd ../
gtk3:
@echo "----------------------------------------------------------------------"
@rm -f Release/cefcapi-gtk3
@clear
gcc -std=c99 -Wall -Werror -o Release/cefcapi-gtk3 -I. -I.. -Wl,-rpath,. -L./Release examples/main_linux.c -lX11 -lcef `pkg-config --libs --cflags gtk+-3.0`
cd Release/ && ./cefcapi-gtk3 && cd ../