diff options
author | Chris Xiong <chirs241097@gmail.com> | 2018-11-08 19:47:52 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2018-11-08 19:47:52 +0800 |
commit | 07493b94b141506e051b0adb9f68132ebfc583c0 (patch) | |
tree | 9962ad4f3794a30e11b2666ee1548eee28f22505 /rpi/max7219/Makefile | |
parent | edd226da50ab7e960aee5e12004d9e8c42e23d24 (diff) | |
download | oddities-07493b94b141506e051b0adb9f68132ebfc583c0.tar.xz |
Added the max7219 stuff.
Diffstat (limited to 'rpi/max7219/Makefile')
-rw-r--r-- | rpi/max7219/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
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 |