diff options
author | Damien Zammit <damien@zamaudio.com> | 2019-06-22 11:50:50 +1000 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2019-06-22 11:50:50 +1000 |
commit | 7c7ce642131baf66b9829e91f718a3951ac24e35 (patch) | |
tree | ddf0fd692e9120ab2c66803751be5c1e07eed0a9 /Makefile | |
parent | 963691f7aff3bc12f95120027a6444041dc3eb06 (diff) |
glib: Make dep optional
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,11 @@ +ifdef ($(HAVE_GLIB)) INCL=$(shell pkg-config --cflags glib-2.0) -I. INCL32=$(shell PKG_CONFIG_PATH=/usr/lib/pkgconfig pkg-config --cflags glib-2.0) -I. +else +INCL=-I. +INCL32=-I. +endif + STRICT=-Wall -Wcast-align -Wextra -Wwrite-strings -Wunsafe-loop-optimizations -Wlogical-op -Wno-unused-function -Wno-implicit-fallthrough -std=c++98 CLANGSTRICT=-Woverloaded-virtual -Wno-mismatched-tags -ansi -Wnon-virtual-dtor -Woverloaded-virtual -fstrict-overflow -Wall -Wcast-align -Wextra -Wwrite-strings -Wno-unused-function -std=c++98 |