consolidating a bunch of lines in the top-level makefile
This commit is contained in:
parent
256a92a41d
commit
4995171f4d
28
Makefile
28
Makefile
@ -1,11 +1,16 @@
|
|||||||
# The top level Makefile
|
# The top level Makefile
|
||||||
|
|
||||||
|
TOP := $(PWD)
|
||||||
|
PROJECTS := JustForFun basics forms menus panels
|
||||||
|
|
||||||
|
|
||||||
all:
|
all:
|
||||||
cd JustForFun && $(MAKE)
|
$(foreach project,$(PROJECTS),\
|
||||||
cd basics && $(MAKE)
|
cd $(project) && \
|
||||||
cd forms && $(MAKE)
|
$(MAKE) && \
|
||||||
cd menus && $(MAKE)
|
cd $(TOP) \
|
||||||
cd panels && $(MAKE)
|
;\
|
||||||
|
)
|
||||||
@echo
|
@echo
|
||||||
@echo "*********************************************"
|
@echo "*********************************************"
|
||||||
@echo "All files Built"
|
@echo "All files Built"
|
||||||
@ -13,9 +18,12 @@ all:
|
|||||||
@echo "Execute each file to see examples in action"
|
@echo "Execute each file to see examples in action"
|
||||||
@echo "*********************************************"
|
@echo "*********************************************"
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
cd JustForFun && $(MAKE) clean
|
$(foreach project,$(PROJECTS),\
|
||||||
cd basics && $(MAKE) clean
|
cd $(project) && \
|
||||||
cd forms && $(MAKE) clean
|
$(MAKE) clean && \
|
||||||
cd menus && $(MAKE) clean
|
cd $(TOP) \
|
||||||
cd panels && $(MAKE) clean
|
;\
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user