fiatlux/Makefile

27 lines
533 B
Makefile

.PHONY: firmware flash firmware_docker case pcb
all: firmware case pcb
firmware:
+@make -C firmware all
clean:
+@make -C firmware clean
firmware_docker:
sh -c "docker build -t fiatlux_env docker"
sh -c "docker run --volume "$$(pwd)"/firmware:/firmware fiatlux_env make -C firmware all"
clean_docker:
sh -c "docker build -t fiatlux_env docker"
sh -c "docker run --volume "$$(pwd)"/firmware:/firmware fiatlux_env make -C firmware clean"
flash:
+@make -C firmware flash
case:
+@make -C case all
pcb:
+@make -C pcb all