Skip to content

Commit

Permalink
Update makefiles
Browse files Browse the repository at this point in the history
add a clean target to toplevel makefile; add project1 to project makefile
  • Loading branch information
pwittich committed Mar 25, 2019
1 parent f8f0d37 commit cd7bbb5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ DIRS=driverlib projects

all:
@for d in ${DIRS}; do \
make -C $$d ;\
${MAKE} -C $$d ;\
done

clean:
@for d in ${DIRS}; do \
${MAKE} -C $$d clean ;\
done

6 changes: 5 additions & 1 deletion projects/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@

include ../makedefs

DIRS=blinky uart_echo project0
DIRS=blinky uart_echo project0 i2c-sensors project1

all:
@for d in ${DIRS}; do \
make -C $$d ;\
done

clean:
@for d in ${DIRS}; do \
make -C $$d clean ;\
done

0 comments on commit cd7bbb5

Please sign in to comment.