fiatlux/Makefile
jedi 5df7ba1178
All checks were successful
continuous-integration/drone/push Build is passing
add change Dockerfile to create build files as user 1000
2021-07-06 17:26:48 +02:00

27 lines
541 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:/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