This commit is contained in:
35
depends/rpi-rgb-led-matrix/Makefile
Normal file
35
depends/rpi-rgb-led-matrix/Makefile
Normal file
@@ -0,0 +1,35 @@
|
||||
# This toplevel Makefile compiles the library in the lib subdirectory.
|
||||
# If you want to see how to integrate the library in your own projects, check
|
||||
# out the sub-directories examples-api-use/ and utils/
|
||||
RGB_LIBDIR=./lib
|
||||
RGB_LIBRARY_NAME=rgbmatrix
|
||||
RGB_LIBRARY=$(RGB_LIBDIR)/lib$(RGB_LIBRARY_NAME).a
|
||||
|
||||
# Some language bindings.
|
||||
PYTHON_LIB_DIR=bindings/python
|
||||
CSHARP_LIB_DIR=bindings/c\#
|
||||
|
||||
all : $(RGB_LIBRARY)
|
||||
|
||||
$(RGB_LIBRARY): FORCE
|
||||
$(MAKE) -C $(RGB_LIBDIR)
|
||||
$(MAKE) -C examples-api-use
|
||||
|
||||
clean:
|
||||
$(MAKE) -C lib clean
|
||||
$(MAKE) -C utils clean
|
||||
$(MAKE) -C examples-api-use clean
|
||||
$(MAKE) -C $(PYTHON_LIB_DIR) clean
|
||||
|
||||
build-csharp:
|
||||
$(MAKE) -C $(CSHARP_LIB_DIR) nuget
|
||||
$(MAKE) -C $(CSHARP_LIB_DIR) build
|
||||
|
||||
build-python: $(RGB_LIBRARY)
|
||||
$(MAKE) -C $(PYTHON_LIB_DIR) build
|
||||
|
||||
install-python: build-python
|
||||
$(MAKE) -C $(PYTHON_LIB_DIR) install
|
||||
|
||||
FORCE:
|
||||
.PHONY: FORCE
|
||||
Reference in New Issue
Block a user