2021-06-19 14:42:38 +00:00
|
|
|
|
2021-06-25 20:50:25 +00:00
|
|
|
.PHONY: firmware flash firmware_docker case pcb
|
2021-06-19 14:42:38 +00:00
|
|
|
|
|
|
|
all: firmware case pcb
|
|
|
|
|
|
|
|
firmware:
|
2021-06-21 10:03:26 +00:00
|
|
|
+@make -C firmware html all
|
2021-06-19 14:42:38 +00:00
|
|
|
|
2021-06-25 20:50:25 +00:00
|
|
|
clean:
|
|
|
|
+@make -C firmware clean
|
|
|
|
|
|
|
|
firmware_docker:
|
|
|
|
sh -c "docker build -t fiatlux_env docker"
|
2021-06-25 20:50:25 +00:00
|
|
|
sh -c "docker run --volume "$$(pwd)"/firmware:/app/firmware fiatlux_env make -C firmware html all"
|
2021-06-25 20:50:25 +00:00
|
|
|
|
|
|
|
clean_docker:
|
|
|
|
sh -c "docker build -t fiatlux_env docker"
|
2021-07-06 15:26:48 +00:00
|
|
|
sh -c "docker run --volume "$$(pwd)"/firmware:/app/firmware fiatlux_env make -C firmware clean"
|
2021-06-25 20:50:25 +00:00
|
|
|
|
2021-06-19 14:42:38 +00:00
|
|
|
flash:
|
|
|
|
+@make -C firmware flash
|
|
|
|
|
|
|
|
case:
|
|
|
|
+@make -C case all
|
|
|
|
|
|
|
|
pcb:
|
|
|
|
+@make -C pcb all
|