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
|
||||
|
||||
TOP := $(PWD)
|
||||
PROJECTS := JustForFun basics forms menus panels
|
||||
|
||||
|
||||
all:
|
||||
cd JustForFun && $(MAKE)
|
||||
cd basics && $(MAKE)
|
||||
cd forms && $(MAKE)
|
||||
cd menus && $(MAKE)
|
||||
cd panels && $(MAKE)
|
||||
$(foreach project,$(PROJECTS),\
|
||||
cd $(project) && \
|
||||
$(MAKE) && \
|
||||
cd $(TOP) \
|
||||
;\
|
||||
)
|
||||
@echo
|
||||
@echo "*********************************************"
|
||||
@echo "All files Built"
|
||||
@ -13,9 +18,12 @@ all:
|
||||
@echo "Execute each file to see examples in action"
|
||||
@echo "*********************************************"
|
||||
@echo
|
||||
|
||||
|
||||
clean:
|
||||
cd JustForFun && $(MAKE) clean
|
||||
cd basics && $(MAKE) clean
|
||||
cd forms && $(MAKE) clean
|
||||
cd menus && $(MAKE) clean
|
||||
cd panels && $(MAKE) clean
|
||||
$(foreach project,$(PROJECTS),\
|
||||
cd $(project) && \
|
||||
$(MAKE) clean && \
|
||||
cd $(TOP) \
|
||||
;\
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user