hosted: Reformatted Makefile.inc to make it easier to read

This commit is contained in:
dragonmux 2022-07-11 10:01:58 -04:00 committed by Piotr Esden-Tempski
parent a0b20bba84
commit a43fe4f5bf
1 changed files with 43 additions and 45 deletions

View File

@ -41,9 +41,7 @@ LDFLAGS += -lsetupapi
# https://github.com/dmlc/xgboost/issues/1945 indicates macosx as indicator
else ifneq (filter, macosx darwin, $(SYS))
SRC += serial_unix.c
LDFLAGS += $(pkg-config --libs hidapi)
LDFLAGS += -framework CoreFoundation
CFLAGS += -Ihidapi/hidapi $(pkg-config --cflags hidapi)
endif
ifneq ($(HOSTED_BMP_ONLY), 1)