-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More shell script and makefile hacking.
- Loading branch information
1 parent
e600db1
commit 63f20f2
Showing
10 changed files
with
309 additions
and
281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.PHONY: all clean everything | ||
|
||
SUB_DIRECTORIES := \ | ||
electrical \ | ||
mechanical | ||
|
||
all: | ||
for d in ${SUB_DIRECTORIES} ; do (cd $$d ; $(MAKE) all) ; done | ||
|
||
clean: | ||
for d in ${SUB_DIRECTORIES} ; do (cd $$d ; $(MAKE) clean); done | ||
|
||
everything: | ||
for d in $(SUB_DIRECTORIES) ; do (cd $$d ; $(MAKE) everything) ; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
.PHONY: all | ||
.PHONY: all clean everthinga | ||
|
||
BOARD_DIRECTORIES = \ | ||
master_board/rev_a | ||
|
||
all: | ||
@for d in ${BOARD_DIRECTORIES} ; do \ | ||
(cd $$d ; make all) ; \ | ||
done | ||
for d in ${BOARD_DIRECTORIES} ; do (cd $$d ; $(MAKE) all) ; done | ||
|
||
everything: | ||
for d in ${BOARD_DIRECTORIES} ; do (cd $$d ; $(MAKE) everything) ; done | ||
|
||
clean: | ||
for d in ${BOARD_DIRECTORIES} ; do (cd $$d ; $(MAKE) clean) ; done |
Oops, something went wrong.