Two years ago I used to work with this Makefile:
CXXFLAGS = -Ic:/Program\\ Files/JACK2/includes -Wall -std=c++1z LDFLAGS= -Lc:/Program\\ Files/JACK2/lib -llib