lnvis

nanovg lightning network visualizer
git clone git://jb55.com/lnvis
Log | Files | Refs | README | LICENSE

commit e7b8e27615c3301cabadeed4b999f56bed11d85d
parent 379d5a9f769102bf15e8c52c15fc320b82655aad
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 18 Aug 2018 09:45:32 -0700

osx/misc: use pkg-config

Diffstat:
MMakefile | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,9 +1,11 @@ BIN = lnvis PREFIX ?= /usr/local -CFLAGS = -Ideps -ggdb -O2 -Wall -Wextra -std=c99 -DJSMN_PARENT_LINKS $(EXTRA_CFLAGS) +CFLAGS = -Ideps -ggdb -O2 -Wall -Wextra -std=c99 -DJSMN_PARENT_LINKS \ + $(shell pkg-config --cflags glfw3) \ + $(EXTRA_CFLAGS) -LDFLAGS = $(EXTRA_LDFLAGS) -lglfw -lm +LDFLAGS = $(EXTRA_LDFLAGS) $(shell pkg-config --libs glfw3) -lm ifeq ($(OS),Windows_NT) CCFLAGS += -D WIN32