Annotation of q_a/samples/ntsd/makefile, revision 1.1.1.3

1.1       root        1: # Nmake macros for building Windows 32-Bit apps
                      2: 
                      3: !include <ntwin32.mak>
                      4: 
                      5: # This line allows NMAKE to work as well
                      6: 
                      7: all: mdi.exe debug.dll
                      8: 
                      9: # Update the object files if necessary
                     10: 
                     11: mdi.obj: mdi.c
1.1.1.2   root       12:     $(cc) $(cdebug) $(cflags) $(cvars) mdi.c
1.1       root       13: 
                     14: debug.obj: debug.c mdi.h mditypes.h
1.1.1.2   root       15:     $(cc) $(cdebug) $(cflags) $(cvars) debug.c
1.1       root       16: 
                     17: # Update the resources if necessary
                     18: 
1.1.1.2   root       19: mdi.rbj: mdi.rc mdi.h
                     20:     rc -r -fo mdi.res mdi.rc
                     21:     cvtres -$(CPU) mdi.res -o mdi.rbj
1.1       root       22: 
                     23: # Update the import library
                     24: 
                     25: debug.lib: debug.obj debug.def
1.1.1.3 ! root       26:     $(implib) -machine:$(CPU)     \
1.1       root       27:     -def:debug.def         \
1.1.1.2   root       28:     debug.obj               \
1.1       root       29:     -out:debug.lib
                     30: 
                     31: # Update the dynamic link library
                     32: 
                     33: debug.dll: debug.obj debug.def
1.1.1.2   root       34:     $(link) $(linkdebug)          \
1.1       root       35:     -base:0x1C000000  \
                     36:     -dll             \
1.1.1.3 ! root       37:     -entry:_DllMainCRTStartup$(DLLENTRY)    \
1.1       root       38:     -out:debug.dll   \
                     39:     debug.exp debug.obj $(guilibs)
                     40: 
                     41: 
                     42: # Update the executable file if necessary.
                     43: # If so, add the resource back in.
                     44: 
1.1.1.2   root       45: mdi.exe: mdi.obj debug.lib mdi.rbj
                     46:     $(link) $(linkdebug) $(guiflags) \
                     47:     -out:mdi.exe mdi.obj debug.lib mdi.rbj $(guilibs) shell32.lib

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.