-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed unnecessary submodules and makefile cleanup, macos claim bugfix
- Loading branch information
Showing
8 changed files
with
20 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,21 @@ | ||
|
||
PDLIBBUILDER_DIR=${CURDIR}/deps/pd-lib-builder | ||
LIBUSB_DIR=${CURDIR}/deps/libusb | ||
HIDAPI_DIR=${CURDIR}/deps/hidapi | ||
HIDMAP_DIR=${CURDIR}/deps/USB-HID-Report-Parser | ||
|
||
cflags += -I${LIBUSB_DIR}/libusb -I${HIDAPI_DIR}/hidapi -I${HIDMAP_DIR} | ||
ldflags += -L${LIBUSB_DIR}/libusb -lusb -L${HIDAPI_DIR}/local-install/lib #-lhidapi -L${HIDMAP_DIR} #-lusbhid_map | ||
cflags += -I${HIDMAP_DIR} | ||
ldflags += -lusb-1.0 -lhidapi | ||
|
||
export PDDIR | ||
export PDLIBBUILDER_DIR | ||
export LIBUSB_DIR | ||
export HIDAPI_DIR | ||
export HIDMAP_DIR | ||
export cflags | ||
export ldflags | ||
|
||
|
||
all: libusb hidapi #usbhid_map | ||
all: | ||
$(MAKE) -C src/hid | ||
|
||
install: | ||
$(MAKE) -C src/hid install | ||
|
||
clean: | ||
$(MAKE) -C src/hid clean | ||
$(MAKE) -C ${LIBUSB_DIR} clean | ||
$(MAKE) -C ${HIDAPI_DIR} clean | ||
|
||
|
||
### libusbb | ||
|
||
libusb: ${LIBUSB_DIR}/libusb/.libs/libusb-1.0.a | ||
|
||
${LIBUSB_DIR}/libusb/.libs/libusb-1.0.a: ${LIBUSB_DIR}/Makefile | ||
$(MAKE) -C ${LIBUSB_DIR} | ||
|
||
${LIBUSB_DIR}/Makefile: ${LIBUSB_DIR}/configure | ||
cd ${LIBUSB_DIR}; ./configure | ||
|
||
${LIBUSB_DIR}/configure: | ||
cd ${LIBUSB_DIR}; ./autogen.sh | ||
|
||
### hidapi | ||
|
||
hidapi: ${HIDAPI_DIR}/local-install/libhidapi.la | ||
|
||
${HIDAPI_DIR}/local-install/libhidapi.la: ${HIDAPI_DIR}/Makefile | ||
$(MAKE) -C ${HIDAPI_DIR} | ||
$(MAKE) -C ${HIDAPI_DIR} install | ||
|
||
${HIDAPI_DIR}/Makefile: ${HIDAPI_DIR}/configure | ||
cd ${HIDAPI_DIR}; ./configure --prefix=${HIDAPI_DIR}/local-install | ||
|
||
${HIDAPI_DIR}/configure: | ||
cd ${HIDAPI_DIR}; ./bootstrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule hidapi
deleted from
6a01f3
Submodule libusb
deleted from
bda234
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters