|
@ -15,10 +15,10 @@ SRC += serial_win.c |
|
|
LDFLAGS += -lws2_32 |
|
|
LDFLAGS += -lws2_32 |
|
|
LDFLAGS += -lsetupapi |
|
|
LDFLAGS += -lsetupapi |
|
|
#https://github.com/dmlc/xgboost/issues/1945 indicates macosx as indicator |
|
|
#https://github.com/dmlc/xgboost/issues/1945 indicates macosx as indicator |
|
|
else ifneq (filter, macosx darwin, $(SYS))) |
|
|
else ifneq (filter, macosx darwin, $(SYS)) |
|
|
LDFLAGS += -lsetupapi |
|
|
SRC += serial_unix.c |
|
|
LDFLAGS += hidapi/mac/.libs/libhidapi.a -framework IOKit |
|
|
LDFLAGS += -lhidapi |
|
|
LDFLAGS += -framework CoreFoundation hidapi/mac/.libs/libhidapi.a |
|
|
LDFLAGS += -framework CoreFoundation |
|
|
CFLAGS += -Ihidapi/hidapi |
|
|
CFLAGS += -Ihidapi/hidapi |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|