added makefile to compile all demos

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-08-07 13:14:19 +00:00
parent 5d6ae97113
commit 7fcb2c61a5
5 changed files with 312 additions and 64 deletions

View File

@@ -1,11 +1,78 @@
#
# Makefile : Builds wxWindows demos for Unix.
#
# =========================================================================
# This makefile was generated by
# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
# Do not modify, all changes will be overwritten!
# =========================================================================
DEMOS_SUBDIRS=bombs dbbrowse forty fractal life poem
all:
@for d in $(DEMOS_SUBDIRS); do (cd $$d && $(MAKE)); done
@MAKE_SET@
clean:
@for d in $(DEMOS_SUBDIRS); do (cd $$d && $(MAKE) clean); done
prefix = @prefix@
exec_prefix = @exec_prefix@
INSTALL = @INSTALL@
### Variables: ###
### Conditionally set variables: ###
### Targets: ###
all: bombs dbbrowse forty fractal life poem
bombs:
(cd bombs && $(MAKE) all)
clean:
rm -rf ./.deps
rm -f ./*.o
(cd bombs && $(MAKE) clean)
(cd dbbrowse && $(MAKE) clean)
(cd forty && $(MAKE) clean)
(cd fractal && $(MAKE) clean)
(cd life && $(MAKE) clean)
(cd poem && $(MAKE) clean)
dbbrowse:
(cd dbbrowse && $(MAKE) all)
distclean: clean
rm -f configure config.cache config.log config.status
rm -f bk-deps shared-ld-sh
forty:
(cd forty && $(MAKE) all)
fractal:
(cd fractal && $(MAKE) all)
install: all
(cd bombs && $(MAKE) install)
(cd dbbrowse && $(MAKE) install)
(cd forty && $(MAKE) install)
(cd fractal && $(MAKE) install)
(cd life && $(MAKE) install)
(cd poem && $(MAKE) install)
install-strip: install
(cd bombs && $(MAKE) install-strip)
(cd dbbrowse && $(MAKE) install-strip)
(cd forty && $(MAKE) install-strip)
(cd fractal && $(MAKE) install-strip)
(cd life && $(MAKE) install-strip)
(cd poem && $(MAKE) install-strip)
life:
(cd life && $(MAKE) all)
poem:
(cd poem && $(MAKE) all)
uninstall:
# Include dependency info, if present:
@IF_GNU_MAKE@-include .deps/*.d
.PHONY: all bombs clean dbbrowse distclean forty fractal install life poem uninstall