| 1 | # |
| 2 | # File: makefile.nt |
| 3 | # Author: Julian Smart |
| 4 | # Created: 1993 |
| 5 | # Updated: |
| 6 | # Copyright: (c) 1993, AIAI, University of Edinburgh |
| 7 | # |
| 8 | # "%W% %G%" |
| 9 | # |
| 10 | # Makefile : Builds samples for Win95, MSVC++ 4.0 |
| 11 | # Use FINAL=1 argument to nmake to build final version with no debugging |
| 12 | # info |
| 13 | |
| 14 | # Set WXDIR for your system |
| 15 | WXDIR = $(WXWIN) |
| 16 | |
| 17 | THISDIR=$(WXDIR)\samples |
| 18 | |
| 19 | !include $(WXDIR)\src\ntwxwin.mak |
| 20 | |
| 21 | DEBUG_FLAGS="/Zi /FR" |
| 22 | LINK_DEBUG_FLAGS="/RELEASE" |
| 23 | |
| 24 | all: |
| 25 | cd $(WXDIR)\samples\splitter |
| 26 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 27 | cd $(WXDIR)\samples\resource |
| 28 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 29 | cd $(WXDIR)\samples\controls |
| 30 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 31 | cd $(WXDIR)\samples\listctrl |
| 32 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 33 | cd $(WXDIR)\samples\treectrl |
| 34 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 35 | cd $(WXDIR)\samples\validate |
| 36 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 37 | cd $(WXDIR)\samples\mdi |
| 38 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 39 | cd $(WXDIR)\samples\minimal |
| 40 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 41 | cd $(WXDIR)\samples\layout |
| 42 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 43 | cd $(WXDIR)\samples\printing |
| 44 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 45 | cd $(WXDIR)\samples\toolbar |
| 46 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 47 | cd $(WXDIR)\samples\dialogs |
| 48 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 49 | cd $(WXDIR)\samples\docview |
| 50 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 51 | cd $(WXDIR)\samples\docvwmdi |
| 52 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 53 | cd $(WXDIR)\samples\controls |
| 54 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 55 | cd $(WXDIR)\samples\nativdlg |
| 56 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 57 | cd $(WXDIR)\samples\grid |
| 58 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 59 | cd $(WXDIR)\samples\internat |
| 60 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 61 | cd $(WXDIR)\samples\dnd |
| 62 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 63 | cd $(WXDIR)\samples\joytest |
| 64 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 65 | cd $(WXDIR)\samples\taskbar |
| 66 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 67 | cd $(WXDIR)\samples\sashtest |
| 68 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 69 | cd $(WXDIR)\samples\memcheck |
| 70 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 71 | cd $(WXDIR)\samples\ownerdrw |
| 72 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 73 | cd $(WXDIR)\samples\checklst |
| 74 | nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 75 | # cd $(WXDIR)\samples\regtest |
| 76 | # nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 77 | # cd $(WXDIR)\samples\hello |
| 78 | # nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 79 | # cd $(WXDIR)\samples\fractal |
| 80 | # nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 81 | # cd $(WXDIR)\samples\ipc |
| 82 | # nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 83 | # cd $(WXDIR)\samples\wxpoem |
| 84 | # nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 85 | # cd $(WXDIR)\samples\types |
| 86 | # nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 87 | # cd $(WXDIR)\samples\pressup |
| 88 | # nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 89 | # cd $(WXDIR)\samples\bombs |
| 90 | # nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 91 | # cd $(WXDIR)\samples\animate |
| 92 | # nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 93 | # cd $(WXDIR)\samples\panel |
| 94 | # nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 95 | # cd $(WXDIR)\samples\odbc |
| 96 | # nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) |
| 97 | |
| 98 | clean: |
| 99 | cd $(WXDIR)\samples\splitter |
| 100 | nmake -f makefile.nt clean |
| 101 | cd $(WXDIR)\samples\mdi |
| 102 | nmake -f makefile.nt clean |
| 103 | cd $(WXDIR)\samples\minimal |
| 104 | nmake -f makefile.nt clean |
| 105 | cd $(WXDIR)\samples\layout |
| 106 | nmake -f makefile.nt clean |
| 107 | cd $(WXDIR)\samples\printing |
| 108 | nmake -f makefile.nt clean |
| 109 | cd $(WXDIR)\samples\toolbar |
| 110 | nmake -f makefile.nt clean |
| 111 | cd $(WXDIR)\samples\dialogs |
| 112 | nmake -f makefile.nt clean |
| 113 | cd $(WXDIR)\samples\resource |
| 114 | nmake -f makefile.nt clean |
| 115 | cd $(WXDIR)\samples\listctrl |
| 116 | nmake -f makefile.nt clean |
| 117 | cd $(WXDIR)\samples\treectrl |
| 118 | nmake -f makefile.nt clean |
| 119 | cd $(WXDIR)\samples\validate |
| 120 | nmake -f makefile.nt clean |
| 121 | cd $(WXDIR)\samples\docview |
| 122 | nmake -f makefile.nt clean |
| 123 | cd $(WXDIR)\samples\docvwmdi |
| 124 | nmake -f makefile.nt clean |
| 125 | cd $(WXDIR)\samples\controls |
| 126 | nmake -f makefile.nt clean |
| 127 | cd $(WXDIR)\samples\nativdlg |
| 128 | nmake -f makefile.nt clean |
| 129 | cd $(WXDIR)\samples\grid |
| 130 | nmake -f makefile.nt clean |
| 131 | cd $(WXDIR)\samples\internat |
| 132 | nmake -f makefile.nt clean |
| 133 | cd $(WXDIR)\samples\checklst |
| 134 | nmake -f makefile.nt clean |
| 135 | cd $(WXDIR)\samples\ownerdrw |
| 136 | nmake -f makefile.nt clean |
| 137 | cd $(WXDIR)\samples\dnd |
| 138 | nmake -f makefile.nt clean |
| 139 | cd $(WXDIR)\samples\joytest |
| 140 | nmake -f makefile.nt clean |
| 141 | cd $(WXDIR)\samples\regtest |
| 142 | nmake -f makefile.nt clean |
| 143 | cd $(WXDIR)\samples\taskbar |
| 144 | nmake -f makefile.nt clean |
| 145 | cd $(WXDIR)\samples\sashtest |
| 146 | nmake -f makefile.nt clean |
| 147 | cd $(WXDIR)\samples\memcheck |
| 148 | nmake -f makefile.nt clean |
| 149 | # cd $(WXDIR)\samples\hello |
| 150 | # nmake -f makefile.nt clean |
| 151 | # cd $(WXDIR)\samples\fractal |
| 152 | # nmake -f makefile.nt clean |
| 153 | # cd $(WXDIR)\samples\ipc |
| 154 | # nmake -f makefile.nt clean |
| 155 | # cd $(WXDIR)\samples\types |
| 156 | # nmake -f makefile.nt clean |
| 157 | # cd $(WXDIR)\samples\pressup |
| 158 | # nmake -f makefile.nt clean |
| 159 | # cd $(WXDIR)\samples\bombs |
| 160 | # nmake -f makefile.nt clean |
| 161 | # cd $(WXDIR)\samples\odbc |
| 162 | # nmake -f makefile.nt clean |
| 163 | # cd $(WXDIR)\samples\animate |
| 164 | # nmake -f makefile.nt clean |
| 165 | # cd $(WXDIR)\samples\panel |
| 166 | # nmake -f makefile.nt clean |
| 167 | # cd $(WXDIR)\samples\wxpoem |
| 168 | # nmake -f makefile.nt clean |
| 169 | |