From: Gilles Depeyrot Date: Sun, 22 Jul 2001 14:06:10 +0000 (+0000) Subject: added dependency handling to Makefiles X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8b2a4e0c1adb8a07f362986a343490deb57ac669?ds=sidebyside added dependency handling to Makefiles git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/demos/bombs/Makefile.in b/demos/bombs/Makefile.in index 3c8a0800c6..3597e174bf 100644 --- a/demos/bombs/Makefile.in +++ b/demos/bombs/Makefile.in @@ -16,6 +16,8 @@ program_dir = demos/bombs PROGRAM=bombs OBJECTS = bombs.o bombs1.o game.o +DEPFILES= bombs.d bombs1.d game.d include ../../src/makeprog.env +-include $(DEPFILES) diff --git a/demos/dbbrowse/Makefile.in b/demos/dbbrowse/Makefile.in index 992e9f4600..7a6eefbcda 100644 --- a/demos/dbbrowse/Makefile.in +++ b/demos/dbbrowse/Makefile.in @@ -15,9 +15,11 @@ program_dir = demos/dbbrowse PROGRAM=dbbrowse - -OBJECTS= dbbrowse.o doc.o pgmctrl.o tabpgwin.o \ - browsedb.o dbtree.o dbgrid.o dlguser.o +OBJECTS = dbbrowse.o doc.o pgmctrl.o tabpgwin.o \ + browsedb.o dbtree.o dbgrid.o dlguser.o +DEPFILES= dbbrowse.d doc.d pgmctrl.d tabpgwin.d \ + browsedb.d dbtree.d dbgrid.d dlguser.d include ../../src/makeprog.env +-include $(DEPFILES) diff --git a/demos/forty/Makefile.in b/demos/forty/Makefile.in index cf1ccedc01..be6a2d5600 100644 --- a/demos/forty/Makefile.in +++ b/demos/forty/Makefile.in @@ -15,7 +15,9 @@ program_dir = demos/forty PROGRAM=forty -OBJECTS=$(PROGRAM).o canvas.o card.o game.o pile.o playerdg.o scoredg.o scorefil.o +OBJECTS =$(PROGRAM).o canvas.o card.o game.o pile.o playerdg.o scoredg.o scorefil.o +DEPFILES=$(PROGRAM).d canvas.d card.d game.d pile.d playerdg.d scoredg.d scorefil.d include ../../src/makeprog.env +-include $(DEPFILES) diff --git a/demos/fractal/Makefile.in b/demos/fractal/Makefile.in index 0888589325..1acf48845c 100644 --- a/demos/fractal/Makefile.in +++ b/demos/fractal/Makefile.in @@ -15,7 +15,9 @@ program_dir = demos/fractal PROGRAM=fractal -OBJECTS=$(PROGRAM).o +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d include ../../src/makeprog.env +-include $(DEPFILES) diff --git a/demos/life/Makefile.in b/demos/life/Makefile.in index 77da68dce4..52cae56641 100644 --- a/demos/life/Makefile.in +++ b/demos/life/Makefile.in @@ -17,8 +17,9 @@ DATAFILES = samples.inc breeder.lif PROGRAM=life -OBJECTS=$(PROGRAM).o dialogs.o game.o reader.o +OBJECTS =$(PROGRAM).o dialogs.o game.o reader.o +DEPFILES=$(PROGRAM).d dialogs.d game.d reader.d include ../../src/makeprog.env - +-include $(DEPFILES) diff --git a/demos/poem/Makefile.in b/demos/poem/Makefile.in index e1eccbd6d6..874acd7b76 100644 --- a/demos/poem/Makefile.in +++ b/demos/poem/Makefile.in @@ -17,7 +17,9 @@ DATAFILES = wxpoem.txt wxpoem.dat PROGRAM=wxpoem -OBJECTS=$(PROGRAM).o +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d include ../../src/makeprog.env +-include $(DEPFILES)