Fix linking with libGL
This commit is contained in:
parent
d84998258a
commit
d455323695
|
@ -1,11 +1,12 @@
|
||||||
targets=libGToolkit
|
targets=libGToolkit
|
||||||
cppflags_force=-I ../include
|
cppflags_force=-I ../include
|
||||||
cflags_force=-W `pkg-config --cflags gl`
|
cflags_force=-W
|
||||||
cflags=-Wall -fPIC -g -O2 -pedantic
|
cflags=-Wall -fPIC -g -O2 -pedantic
|
||||||
dist=Makefile,common.h,gwidget.h
|
dist=Makefile,common.h,gwidget.h
|
||||||
|
|
||||||
[libGToolkit]
|
[libGToolkit]
|
||||||
type=library
|
type=library
|
||||||
|
cflags=`pkg-config --cflags gl`
|
||||||
ldflags=`pkg-config --libs gl`
|
ldflags=`pkg-config --libs gl`
|
||||||
install=$(PREFIX)/lib
|
install=$(PREFIX)/lib
|
||||||
sources=common.c,gwindow.c,gtoolkit.c
|
sources=common.c,gwindow.c,gtoolkit.c
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
targets=test
|
targets=test
|
||||||
cppflags_force=-I ../include
|
cppflags_force=-I ../include
|
||||||
cflags_force=-W
|
cflags_force=-W `pkg-config --cflags gl`
|
||||||
cflags=-Wall -fPIC -g -O2 -pedantic
|
cflags=-Wall -fPIC -g -O2 -pedantic
|
||||||
|
ldflags_force=`pkg-config --libs gl`
|
||||||
dist=Makefile
|
dist=Makefile
|
||||||
|
|
||||||
[test]
|
[test]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user