通过上一篇博文编译X11以及Xext
修改config.mk
UI_LIBS= -L/home/lnint/tinygl/x11/install/lib -lX11 -lXext -lXau -Wl,-rpath,/home/lnint/tinygl/x11/install/lib
UI_INCLUDES= -I../include -I/home/lnint/tinygl/x11/install/include
指定库路径和头文件路径
修改src下makefile
INCLUDES = -I../include -I/home/lnint/tinygl/x11/install/include
LIB = libTinyGL.a
LIBS =-L/home/lnint/tinygl/libX11-1.5.0/installx11/lib -lX11
指定库路径和头文件路径
修改完毕到根目录下make顺利的话会得到静态库和demo