Changeset 209 for trunk/src/helpers/makefile
- Timestamp:
- Aug 19, 2002, 11:23:17 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/makefile
r201 r209 142 142 @echo ----- Leaving $(MAKEDIR) 143 143 144 # Define the main dependency between the output HELPERS.LIB and 145 # all the object files. 146 # $? represents the names of all dependent files that are 147 # out-of-date with respect to the target file. 148 # The exclamation point ( ! ) preceding the LIB command causes NMAKE 149 # to execute the LIB command once for each dependent file in the list. 150 151 $(OUTPUTDIR)\helpers.lib: $(OBJS) 152 !ifdef EMX 153 !emxomfar cr $* $? 154 !else 155 !ilib /nol /nob $* -+$?; 156 !endif 157 158 # same thing for cp.lib 159 $(OUTPUTDIR)\cp.lib: $(CPOBJS) 160 !ifdef EMX 161 !emxomfar cr $* $? 162 !else 163 !ilib /nol /nob $* -+$?; 164 !endif 165 166 # same thing for plainc.lib 167 $(OUTPUTDIR)\plainc.lib: $(PLAINCOBJS) 168 !ifdef EMX 169 !emxomfar cr $* $? 170 !else 171 !ilib /nol /nob $* -+$?; 172 !endif 173 174 !include helpers_post.in 175 176 ################################################### 177 # 144 178 # "test" target: for test cases 179 # 180 ################################################### 181 145 182 TESTCASE_DIR = testcase 146 183 147 TESTCASE_CC = icc /c /ti+ /w2 /ss /se /i$(HELPERS_BASE)\include /Fo$(TESTCASE_DIR)\$(@B).obj $(@B).c 184 DEBUGDIALOG = 185 !ifdef DBGDLG 186 DEBUGDIALOG = /DDEBUG_DIALOG_WINDOWS=1 187 !endif 188 189 TESTCASE_CC = icc /c /ti+ /w2 /ss /se /D__DEBUG__=1 $(DEBUGDIALOG) /i$(HELPERS_BASE)\include /Fo$(TESTCASE_DIR)\$(@B).obj $(@B).c 148 190 149 191 .c.{$(TESTCASE_DIR)}.obj: 150 192 @echo $(MAKEDIR)\makefile: Compiling $(@B).c 193 @echo INCLUDE is $(INCLUDE) 151 194 $(TESTCASE_CC) 152 195 … … 155 198 dosh.exe \ 156 199 dialog.exe \ 157 vcard.exe \200 exeh.exe \ 158 201 fdlg.exe \ 159 160 # dosh.exe 161 DOSH_TEST_OBJS = \ 162 $(TESTCASE_DIR)\dosh.obj \ 163 $(TESTCASE_DIR)\_test_dosh.obj 164 165 dosh.exe: $(DOSH_TEST_OBJS) 166 ilink /debug /optfunc /pmtype:vio $(DOSH_TEST_OBJS) /o:$@ 167 168 $(TESTCASE_DIR)\dialog.obj: ..\..\include\helpers\dialog.h 169 $(TESTCASE_DIR)\_test_dialog.obj: ..\..\include\helpers\dialog.h 202 vcard.exe 170 203 171 204 # dialog.exe … … 190 223 $(TESTCASE_DIR)\gpih.obj 191 224 225 $(TESTCASE_DIR)\dialog.obj: ..\..\include\helpers\dialog.h 226 $(TESTCASE_DIR)\_test_dialog.obj: ..\..\include\helpers\dialog.h 227 192 228 dialog.exe: $(DIALOG_TEST_OBJS) 193 ilink /debug /optfunc /pmtype:pm $(DIALOG_TEST_OBJS) /o:$@ 229 ilink /debug /optfunc /pmtype:pm $(DIALOG_TEST_OBJS) pmprintf.lib /o:$@ 230 231 # dosh.exe 232 DOSH_TEST_OBJS = \ 233 $(TESTCASE_DIR)\dosh.obj \ 234 $(TESTCASE_DIR)\_test_dosh.obj 235 236 dosh.exe: $(DOSH_TEST_OBJS) 237 ilink /debug /optfunc /pmtype:vio $(DOSH_TEST_OBJS) pmprintf.lib /o:$@ 238 239 # exeh.exe 240 EXEH_TEST_OBJS = \ 241 $(TESTCASE_DIR)\dosh.obj \ 242 $(TESTCASE_DIR)\exeh.obj \ 243 $(TESTCASE_DIR)\stringh.obj \ 244 $(TESTCASE_DIR)\xstring.obj \ 245 $(TESTCASE_DIR)\_test_exeh.obj 246 247 exeh.exe: $(EXEH_TEST_OBJS) 248 ilink /debug /optfunc /pmtype:vio $(EXEH_TEST_OBJS) pmprintf.lib /o:$@ 249 250 # fdlg.exe 251 FDLG_TEST_OBJS = \ 252 $(TESTCASE_DIR)\_call_filedlg.obj 253 254 fdlg.exe: $(FDLG_TEST_OBJS) 255 ilink /debug /pmtype:pm $(FDLG_TEST_OBJS) /o:$@ 194 256 195 257 # vcard.exe … … 210 272 ilink /debug /pmtype:vio $(VCARD_TEST_OBJS) /o:$@ 211 273 212 # vcard.exe213 VCARD_TEST_OBJS = \214 $(TESTCASE_DIR)\_call_filedlg.obj215 216 fdlg.exe: $(VCARD_TEST_OBJS)217 ilink /debug /pmtype:pm $(VCARD_TEST_OBJS) /o:$@218 219 274 test: $(TESTCASE_TARGETS) 220 275 221 # Define the main dependency between the output HELPERS.LIB and 222 # all the object files. 223 # $? represents the names of all dependent files that are 224 # out-of-date with respect to the target file. 225 # The exclamation point ( ! ) preceding the LIB command causes NMAKE 226 # to execute the LIB command once for each dependent file in the list. 227 228 $(OUTPUTDIR)\helpers.lib: $(OBJS) 229 !ifdef EMX 230 !emxomfar cr $* $? 231 !else 232 !ilib /nol /nob $* -+$?; 233 !endif 234 235 # same thing for cp.lib 236 $(OUTPUTDIR)\cp.lib: $(CPOBJS) 237 !ifdef EMX 238 !emxomfar cr $* $? 239 !else 240 !ilib /nol /nob $* -+$?; 241 !endif 242 243 # same thing for plainc.lib 244 $(OUTPUTDIR)\plainc.lib: $(PLAINCOBJS) 245 !ifdef EMX 246 !emxomfar cr $* $? 247 !else 248 !ilib /nol /nob $* -+$?; 249 !endif 250 251 !include helpers_post.in 252 253 276
Note:
See TracChangeset
for help on using the changeset viewer.