1 changed files with 14 additions and 6 deletions
@ -1,13 +1,21 @@ |
|||
.PHONY: all flash clean |
|||
.PHONY: all lib example flash clean clean-lib clean-examples |
|||
|
|||
all: compile flash |
|||
all: flash |
|||
|
|||
compile: |
|||
lib: |
|||
$(MAKE) -C src |
|||
|
|||
flash: |
|||
$(MAKE) -C src program |
|||
example: lib |
|||
$(MAKE) -C examples |
|||
|
|||
clean: |
|||
flash: example |
|||
$(MAKE) -C examples program |
|||
|
|||
clean: clean-lib clean-examples |
|||
|
|||
clean-lib: |
|||
$(MAKE) -C src clean |
|||
|
|||
clean-examples: |
|||
$(MAKE) -C examples clean |
|||
|
|||
|
Loading…
Reference in new issue