27 lines
546 B
Makefile
27 lines
546 B
Makefile
|
|
.PHONY: firmware flash firmware_docker case pcb
|
|
|
|
all: firmware case pcb
|
|
|
|
firmware:
|
|
+@make -C firmware html all
|
|
|
|
clean:
|
|
+@make -C firmware clean
|
|
|
|
firmware_docker:
|
|
sh -c "docker build -t fiatlux_env docker"
|
|
sh -c "docker run --volume "$$(pwd)"/firmware:/app/firmware fiatlux_env make -C firmware all"
|
|
|
|
clean_docker:
|
|
sh -c "docker build -t fiatlux_env docker"
|
|
sh -c "docker run --volume "$$(pwd)"/firmware:/app/firmware fiatlux_env make -C firmware clean"
|
|
|
|
flash:
|
|
+@make -C firmware flash
|
|
|
|
case:
|
|
+@make -C case all
|
|
|
|
pcb:
|
|
+@make -C pcb all
|