box-o-sand/curses-practice/Makefile

30 lines
540 B
Makefile
Raw Normal View History

2009-11-19 00:01:16 +00:00
# The top level Makefile
TOP := $(PWD)
PROJECTS := JustForFun basics forms menus panels
2009-11-19 00:01:16 +00:00
all:
$(foreach project,$(PROJECTS),\
cd $(project) && \
$(MAKE) && \
cd $(TOP) \
;\
)
2009-11-19 00:01:16 +00:00
@echo
@echo "*********************************************"
@echo "All files Built"
@echo "Please move to demo/exe directory"
@echo "Execute each file to see examples in action"
@echo "*********************************************"
@echo
2009-11-19 00:01:16 +00:00
clean:
$(foreach project,$(PROJECTS),\
cd $(project) && \
$(MAKE) clean && \
cd $(TOP) \
;\
)