22 lines
346 B
Makefile
22 lines
346 B
Makefile
|
|
all: linux avr
|
|
|
|
linux:
|
|
@echo make linux
|
|
@make -f linux.Makefile linux
|
|
|
|
avr: lib/libssd1306.a
|
|
@echo make avr
|
|
@make -f avr.Makefile avr
|
|
|
|
lib/libssd1306.a:
|
|
@cd deps/ssd1306/src/; make -f Makefile.avr
|
|
@mkdir -p lib
|
|
@cp deps/ssd1306/bld/libssd1306.a lib/libssd1306.a
|
|
|
|
flash:
|
|
@make -f avr.Makefile flash
|
|
|
|
clean:
|
|
@rm -r build
|
|
@echo clean all
|