]> git.saurik.com Git - wxWidgets.git/commitdiff
added makefile to compile all demos
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 7 Aug 2003 13:14:19 +0000 (13:14 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 7 Aug 2003 13:14:19 +0000 (13:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/Makefile.in
demos/makefile.bcc [new file with mode: 0644]
demos/makefile.gcc [new file with mode: 0644]
demos/makefile.vc
demos/makefile.wat [new file with mode: 0644]

index 4da28190c5bcaffd28e06376c5a6441c671f4d3a..f8d87a90f302182f50ea35adc7c867a9668421d5 100644 (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
diff --git a/demos/makefile.bcc b/demos/makefile.bcc
new file mode 100644 (file)
index 0000000..aa8e891
--- /dev/null
@@ -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 ..
diff --git a/demos/makefile.gcc b/demos/makefile.gcc
new file mode 100644 (file)
index 0000000..24d532f
--- /dev/null
@@ -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
index 90fb158b0e388efa03578efe154fdadc800de296..63bf06bea787437742a45f346e6df181e058e110 100644 (file)
@@ -1,63 +1,56 @@
-#
-# File:         makefile.vc
-# Author:       Julian Smart
-# Created:      1993
-# 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
-WXDIR = $(WXWIN)
-
-THISDIR=$(WXDIR)\demos
-
-#
-# 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
-
-#
-# Please keep demos list up-to-date, in alphabetical order
-#
-all:
-        cd $(WXDIR)\demos\bombs
-        nmake -f makefile.vc FINAL=$(FINAL)
-        cd $(WXDIR)\demos\dbbrowse
-        nmake -f makefile.vc FINAL=$(FINAL)
-        cd $(WXDIR)\demos\forty
-        nmake -f makefile.vc FINAL=$(FINAL)
-        cd $(WXDIR)\demos\fractal
-        nmake -f makefile.vc FINAL=$(FINAL)
-        cd $(WXDIR)\demos\life
-        nmake -f makefile.vc FINAL=$(FINAL)
-        cd $(WXDIR)\demos\poem
-        nmake -f makefile.vc FINAL=$(FINAL)
-
-clean:
-        cd $(WXDIR)\demos\bombs
-        nmake -f makefile.vc clean
-        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
+# =========================================================================
+#     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.vc>
+
+# -------------------------------------------------------------------------
+# Do not modify the rest of this file!
+# -------------------------------------------------------------------------
+
+### Variables: ###
+
+
+### Conditionally set variables: ###
+
+
+
+### Targets: ###
+
+all: sub_bombs sub_dbbrowse sub_forty sub_fractal sub_life sub_poem
+
+sub_bombs: 
+       cd bombs
+       $(MAKE) /$(MAKEFLAGS) -f makefile.vc all
+       cd $(MAKEDIR)
+
+clean: 
+       -if exist .\*.obj del .\*.obj
+       -if exist .\*.res del .\*.res
+
+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)
diff --git a/demos/makefile.wat b/demos/makefile.wat
new file mode 100644 (file)
index 0000000..5bdf79e
--- /dev/null
@@ -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)