includes go-rpi-rgb-led-matrix as a dep

This commit is contained in:
2023-12-21 11:06:27 -05:00
parent d1d6e2d9f9
commit 4dcea50309
187 changed files with 1174372 additions and 0 deletions
@@ -0,0 +1,21 @@
CSHARP_LIB=RGBLedMatrix.dll
SOURCES=RGBLedCanvas.cs RGBLedMatrix.cs RGBLedFont.cs
CSHARP_COMPILER=mcs
RGB_LIBDIR=../../lib
RGB_LIBRARY_NAME=rgbmatrix
RGB_LIBRARY=$(RGB_LIBDIR)/lib$(RGB_LIBRARY_NAME).so.1
EXAMPLES_DIR=examples
$(CSHARP_LIB) : $(SOURCES) $(RGB_LIBRARY)
$(CSHARP_COMPILER) -target:library -out:$@ $(SOURCES)
$(RGB_LIBRARY):
$(MAKE) -C $(RGB_LIBDIR)
build: $(CSHARP_LIB)
$(MAKE) -C $(EXAMPLES_DIR) all
clean:
rm -f $(CSHARP_LIB)