fiatlux/Makefile
jedi 2aafb59fe4
All checks were successful
continuous-integration/drone/push Build is passing
add Dockerfile for build environment
2021-07-02 17:14:29 +02:00

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