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

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.2 ! root       26:     $(cvtobj) $(cvtdebug) debug.obj
        !            27:     coff -lib -machine:$(CPU)     \
1.1       root       28:     -def:debug.def         \
1.1.1.2 ! root       29:     debug.obj               \
1.1       root       30:     -out:debug.lib
                     31: 
                     32: # Update the dynamic link library
                     33: 
                     34: debug.dll: debug.obj debug.def
1.1.1.2 ! root       35:     $(link) $(linkdebug)          \
1.1       root       36:     -base:0x1C000000  \
                     37:     -dll             \
1.1.1.2 ! root       38:     -entry:LibMain$(DLLENTRY)    \
1.1       root       39:     -out:debug.dll   \
                     40:     debug.exp debug.obj $(guilibs)
                     41: 
                     42: 
                     43: # Update the executable file if necessary.
                     44: # If so, add the resource back in.
                     45: 
1.1.1.2 ! root       46: mdi.exe: mdi.obj debug.lib mdi.rbj
        !            47:     $(cvtobj) $(cvtdebug) mdi.obj
        !            48:     $(link) $(linkdebug) $(guiflags) \
        !            49:     -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.