-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (24 loc) · 789 Bytes
/
Copy pathMakefile
File metadata and controls
30 lines (24 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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 is now handled by scikit-build-core and cmake, not here.
# 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
FORCE:
.PHONY: FORCE