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:
@@ -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:
|
@MAKE_SET@
|
||||||
@for d in $(DEMOS_SUBDIRS); do (cd $$d && $(MAKE)); 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:
|
clean:
|
||||||
@for d in $(DEMOS_SUBDIRS); do (cd $$d && $(MAKE) clean); done
|
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
|
||||||
|
66
demos/makefile.bcc
Normal file
66
demos/makefile.bcc
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
# =========================================================================
|
||||||
|
# This makefile was generated by
|
||||||
|
# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
|
||||||
|
# Do not modify, all changes will be overwritten!
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
|
!ifndef BCCDIR
|
||||||
|
BCCDIR = $(MAKEDIR)\..
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!include ../build/msw/config.bcc
|
||||||
|
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# Do not modify the rest of this file!
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
!if "$(BCCDIR)" == "\.."
|
||||||
|
!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
|
||||||
|
!endif
|
||||||
|
|
||||||
|
### Variables: ###
|
||||||
|
|
||||||
|
|
||||||
|
### Conditionally set variables: ###
|
||||||
|
|
||||||
|
|
||||||
|
MAKEARGS =
|
||||||
|
|
||||||
|
|
||||||
|
### Targets: ###
|
||||||
|
|
||||||
|
all: bombs dbbrowse forty fractal life poem
|
||||||
|
|
||||||
|
bombs:
|
||||||
|
cd bombs
|
||||||
|
$(MAKE) -f makefile.bcc $(MAKEARGS) all
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-if exist .\*.obj del .\*.obj
|
||||||
|
-if exist .\*.res del .\*.res
|
||||||
|
|
||||||
|
dbbrowse:
|
||||||
|
cd dbbrowse
|
||||||
|
$(MAKE) -f makefile.bcc $(MAKEARGS) all
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
forty:
|
||||||
|
cd forty
|
||||||
|
$(MAKE) -f makefile.bcc $(MAKEARGS) all
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
fractal:
|
||||||
|
cd fractal
|
||||||
|
$(MAKE) -f makefile.bcc $(MAKEARGS) all
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
life:
|
||||||
|
cd life
|
||||||
|
$(MAKE) -f makefile.bcc $(MAKEARGS) all
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
poem:
|
||||||
|
cd poem
|
||||||
|
$(MAKE) -f makefile.bcc $(MAKEARGS) all
|
||||||
|
cd ..
|
47
demos/makefile.gcc
Normal file
47
demos/makefile.gcc
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
# =========================================================================
|
||||||
|
# This makefile was generated by
|
||||||
|
# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
|
||||||
|
# Do not modify, all changes will be overwritten!
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
|
include ../build/msw/config.gcc
|
||||||
|
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# Do not modify the rest of this file!
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
### Variables: ###
|
||||||
|
|
||||||
|
|
||||||
|
### Conditionally set variables: ###
|
||||||
|
|
||||||
|
|
||||||
|
MAKEARGS = GCC_VERSION=$(GCC_VERSION)
|
||||||
|
|
||||||
|
|
||||||
|
### Targets: ###
|
||||||
|
|
||||||
|
all: bombs dbbrowse forty fractal life poem
|
||||||
|
|
||||||
|
bombs:
|
||||||
|
$(MAKE) -C bombs -f makefile.gcc $(MAKEARGS) all
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-if exist .\*.o del .\*.o
|
||||||
|
|
||||||
|
dbbrowse:
|
||||||
|
$(MAKE) -C dbbrowse -f makefile.gcc $(MAKEARGS) all
|
||||||
|
|
||||||
|
forty:
|
||||||
|
$(MAKE) -C forty -f makefile.gcc $(MAKEARGS) all
|
||||||
|
|
||||||
|
fractal:
|
||||||
|
$(MAKE) -C fractal -f makefile.gcc $(MAKEARGS) all
|
||||||
|
|
||||||
|
life:
|
||||||
|
$(MAKE) -C life -f makefile.gcc $(MAKEARGS) all
|
||||||
|
|
||||||
|
poem:
|
||||||
|
$(MAKE) -C poem -f makefile.gcc $(MAKEARGS) all
|
||||||
|
|
||||||
|
.PHONY: all bombs clean dbbrowse forty fractal life poem
|
@@ -1,63 +1,56 @@
|
|||||||
#
|
# =========================================================================
|
||||||
# File: makefile.vc
|
# This makefile was generated by
|
||||||
# Author: Julian Smart
|
# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
|
||||||
# Created: 1993
|
# Do not modify, all changes will be overwritten!
|
||||||
# Updated:
|
# =========================================================================
|
||||||
# Copyright:
|
|
||||||
#
|
|
||||||
# "%W% %G%"
|
|
||||||
#
|
|
||||||
# Makefile : Builds demos for Win95, MSVC++ 16-bit
|
|
||||||
# Use FINAL=1 argument to nmake to build final version with no debugging
|
|
||||||
# info
|
|
||||||
|
|
||||||
# Set WXDIR for your system
|
!include <../build/msw/config.vc>
|
||||||
WXDIR = $(WXWIN)
|
|
||||||
|
|
||||||
THISDIR=$(WXDIR)\demos
|
# -------------------------------------------------------------------------
|
||||||
|
# Do not modify the rest of this file!
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
|
||||||
#
|
### Variables: ###
|
||||||
# Indicates kind of pb with demos
|
|
||||||
#
|
|
||||||
# No makefile.vc file
|
|
||||||
NOMAKE=1
|
|
||||||
# No 16 bit version
|
|
||||||
#ONLY32=1
|
|
||||||
# Misc. compilation errors
|
|
||||||
COMPIL=1
|
|
||||||
# Need PNG
|
|
||||||
PNGSETUP=
|
|
||||||
|
|
||||||
!include $(WXDIR)\src\makemsc.env
|
|
||||||
|
|
||||||
#
|
### Conditionally set variables: ###
|
||||||
# Please keep demos list up-to-date, in alphabetical order
|
|
||||||
#
|
|
||||||
all:
|
|
||||||
cd $(WXDIR)\demos\bombs
|
### Targets: ###
|
||||||
nmake -f makefile.vc FINAL=$(FINAL)
|
|
||||||
cd $(WXDIR)\demos\dbbrowse
|
all: sub_bombs sub_dbbrowse sub_forty sub_fractal sub_life sub_poem
|
||||||
nmake -f makefile.vc FINAL=$(FINAL)
|
|
||||||
cd $(WXDIR)\demos\forty
|
sub_bombs:
|
||||||
nmake -f makefile.vc FINAL=$(FINAL)
|
cd bombs
|
||||||
cd $(WXDIR)\demos\fractal
|
$(MAKE) /$(MAKEFLAGS) -f makefile.vc all
|
||||||
nmake -f makefile.vc FINAL=$(FINAL)
|
cd $(MAKEDIR)
|
||||||
cd $(WXDIR)\demos\life
|
|
||||||
nmake -f makefile.vc FINAL=$(FINAL)
|
|
||||||
cd $(WXDIR)\demos\poem
|
|
||||||
nmake -f makefile.vc FINAL=$(FINAL)
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
cd $(WXDIR)\demos\bombs
|
-if exist .\*.obj del .\*.obj
|
||||||
nmake -f makefile.vc clean
|
-if exist .\*.res del .\*.res
|
||||||
cd $(WXDIR)\demos\dbbrowse
|
|
||||||
nmake -f makefile.vc clean
|
|
||||||
cd $(WXDIR)\demos\forty
|
|
||||||
nmake -f makefile.vc clean
|
|
||||||
cd $(WXDIR)\demos\fractal
|
|
||||||
nmake -f makefile.vc clean
|
|
||||||
cd $(WXDIR)\demos\life
|
|
||||||
nmake -f makefile.vc clean
|
|
||||||
cd $(WXDIR)\demos\poem
|
|
||||||
nmake -f makefile.vc clean
|
|
||||||
|
|
||||||
|
sub_dbbrowse:
|
||||||
|
cd dbbrowse
|
||||||
|
$(MAKE) /$(MAKEFLAGS) -f makefile.vc all
|
||||||
|
cd $(MAKEDIR)
|
||||||
|
|
||||||
|
sub_forty:
|
||||||
|
cd forty
|
||||||
|
$(MAKE) /$(MAKEFLAGS) -f makefile.vc all
|
||||||
|
cd $(MAKEDIR)
|
||||||
|
|
||||||
|
sub_fractal:
|
||||||
|
cd fractal
|
||||||
|
$(MAKE) /$(MAKEFLAGS) -f makefile.vc all
|
||||||
|
cd $(MAKEDIR)
|
||||||
|
|
||||||
|
sub_life:
|
||||||
|
cd life
|
||||||
|
$(MAKE) /$(MAKEFLAGS) -f makefile.vc all
|
||||||
|
cd $(MAKEDIR)
|
||||||
|
|
||||||
|
sub_poem:
|
||||||
|
cd poem
|
||||||
|
$(MAKE) /$(MAKEFLAGS) -f makefile.vc all
|
||||||
|
cd $(MAKEDIR)
|
||||||
|
75
demos/makefile.wat
Normal file
75
demos/makefile.wat
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
# =========================================================================
|
||||||
|
# This makefile was generated by
|
||||||
|
# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
|
||||||
|
# Do not modify, all changes will be overwritten!
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
|
!include ../build/msw/config.wat
|
||||||
|
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# Do not modify the rest of this file!
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Speed up compilation a bit:
|
||||||
|
!ifdef __LOADDLL__
|
||||||
|
! loaddll wcc wccd
|
||||||
|
! loaddll wccaxp wccdaxp
|
||||||
|
! loaddll wcc386 wccd386
|
||||||
|
! loaddll wpp wppdi86
|
||||||
|
! loaddll wppaxp wppdaxp
|
||||||
|
! loaddll wpp386 wppd386
|
||||||
|
! loaddll wlink wlink
|
||||||
|
! loaddll wlib wlibd
|
||||||
|
!endif
|
||||||
|
|
||||||
|
# We need these variables in some bakefile-made rules:
|
||||||
|
WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
|
||||||
|
|
||||||
|
### Conditionally set variables: ###
|
||||||
|
|
||||||
|
|
||||||
|
### Variables: ###
|
||||||
|
|
||||||
|
|
||||||
|
MAKEARGS =
|
||||||
|
|
||||||
|
|
||||||
|
### Targets: ###
|
||||||
|
|
||||||
|
all : .SYMBOLIC bombs dbbrowse forty fractal life poem
|
||||||
|
|
||||||
|
bombs : .SYMBOLIC
|
||||||
|
cd bombs
|
||||||
|
wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
|
||||||
|
cd $(WATCOM_CWD)
|
||||||
|
|
||||||
|
clean : .SYMBOLIC
|
||||||
|
-if exist .\*.obj del .\*.obj
|
||||||
|
-if exist .\*.res del .\*.res
|
||||||
|
-if exist .\*.lbc del .\*.lbc
|
||||||
|
-if exist .\*.ilk del .\*.ilk
|
||||||
|
|
||||||
|
dbbrowse : .SYMBOLIC
|
||||||
|
cd dbbrowse
|
||||||
|
wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
|
||||||
|
cd $(WATCOM_CWD)
|
||||||
|
|
||||||
|
forty : .SYMBOLIC
|
||||||
|
cd forty
|
||||||
|
wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
|
||||||
|
cd $(WATCOM_CWD)
|
||||||
|
|
||||||
|
fractal : .SYMBOLIC
|
||||||
|
cd fractal
|
||||||
|
wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
|
||||||
|
cd $(WATCOM_CWD)
|
||||||
|
|
||||||
|
life : .SYMBOLIC
|
||||||
|
cd life
|
||||||
|
wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
|
||||||
|
cd $(WATCOM_CWD)
|
||||||
|
|
||||||
|
poem : .SYMBOLIC
|
||||||
|
cd poem
|
||||||
|
wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
|
||||||
|
cd $(WATCOM_CWD)
|
Reference in New Issue
Block a user