mirror of
https://github.com/zebrajr/SamRewritten.git
synced 2025-12-06 00:19:47 +01:00
Merge pull request #111 from vapier/pkg-config
support standard $PKG_CONFIG build setting
This commit is contained in:
commit
dda0177fae
5
Makefile
5
Makefile
|
|
@ -4,8 +4,9 @@ LIBDIR?=lib
|
|||
PREFIX=/usr
|
||||
HFILES:=$(shell find src/ -type f -iname *.h -print)
|
||||
CXXFILES:=$(shell find src/ -type f -iname *.cpp -print)
|
||||
GTKFLAGS:=$(shell pkg-config gtkmm-3.0 --cflags)
|
||||
GTKLIBS:=$(shell pkg-config gtkmm-3.0 --libs)
|
||||
PKG_CONFIG?=pkg-config
|
||||
GTKFLAGS:=$(shell $(PKG_CONFIG) gtkmm-3.0 --cflags)
|
||||
GTKLIBS:=$(shell $(PKG_CONFIG) gtkmm-3.0 --libs)
|
||||
# For now, leave it to the distro to provide preferred extra flags
|
||||
CXXFLAGS+=$(GTKFLAGS) -Wall
|
||||
LDLIBS+=$(GTKLIBS) -lsteam_api -lcurl -lyajl -ldl
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user