From 07493b94b141506e051b0adb9f68132ebfc583c0 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Thu, 8 Nov 2018 19:47:52 +0800 Subject: Added the max7219 stuff. --- rpi/max7219/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 rpi/max7219/Makefile (limited to 'rpi/max7219/Makefile') diff --git a/rpi/max7219/Makefile b/rpi/max7219/Makefile new file mode 100644 index 0000000..3e5b214 --- /dev/null +++ b/rpi/max7219/Makefile @@ -0,0 +1,17 @@ +LINK=-lwiringPi + +all:lajimon_w +test:max7219_test +max7219.o: + gcc max7219.c -c -o max7219.o +lajimon_w.o: + gcc lajimon_w.c -c -o lajimon_w.o +lajimon_w:lajimon_w.o max7219.o + gcc lajimon_w.o max7219.o -o lajimon_w $(LINK) +max7219_test.o: + gcc max7219_test.c -c -o max7219_test.o +max7219_test: + gcc max7219.o max7219_test.o -o max7219_test $(LINK) + +clean: + rm *.o max7219_test lajimon_w -- cgit v1.2.3