aboutsummaryrefslogblamecommitdiff
path: root/rpi/max7219/Makefile
blob: 3e5b21433253cc33d4eee75a17873d3a072dd9fb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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