X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Makefile;h=f7a54c84da5beac9d601e17daf3443aa32d76437;hb=6334dc3fcbd67a757f6065a946a2343185c233fc;hp=5160e83db6e5c6bb332f5a392959869307752c09;hpb=c65ae2fbbdb350975f1f097f6f150bc7e8af6e4e;p=bmusb diff --git a/Makefile b/Makefile index 5160e83..f7a54c8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ PKG_CONFIG ?= pkg-config -CXXFLAGS := -std=gnu++14 -O2 -Wall -I. -g $(shell $(PKG_CONFIG) libusb-1.0 --cflags) -pthread -LDFLAGS := $(shell $(PKG_CONFIG) libusb-1.0 --libs) -pthread +CXXFLAGS ?= -O2 -g +CXXFLAGS := -std=gnu++14 -Wall -I. $(shell $(PKG_CONFIG) libusb-1.0 --cflags) -pthread $(CXXFLAGS) +LDFLAGS := $(shell $(PKG_CONFIG) libusb-1.0 --libs) -pthread $(LDFLAGS) AR := ar LN := ln RANLIB := ranlib