kopia lustrzana https://github.com/weetmuts/wmbusmeters
Add support to Makefile for Darwin/MacOS platform
rodzic
f7b70e4c64
commit
95a4e15baa
3
Makefile
3
Makefile
|
@ -140,8 +140,7 @@ endif
|
||||||
|
|
||||||
ifeq ($(shell uname -s),Darwin)
|
ifeq ($(shell uname -s),Darwin)
|
||||||
CXXFLAGS += -I$(shell brew --prefix)/include
|
CXXFLAGS += -I$(shell brew --prefix)/include
|
||||||
LDFLAGS += -L$(shell brew --prefix)/lib
|
LDFLAGS += -L$(shell brew --prefix)/libm
|
||||||
USBLIB = -lusb-1.0
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(BUILD)/%.o: src/%.cc $(wildcard src/%.h)
|
$(BUILD)/%.o: src/%.cc $(wildcard src/%.h)
|
||||||
|
|
Ładowanie…
Reference in New Issue