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

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
                     12:     $(cc) $(cflags) $(cvars) mdi.c
                     13: 
                     14: debug.obj: debug.c mdi.h mditypes.h
                     15:     $(cc) $(cflags) $(cvars) debug.c
                     16: 
                     17: # Update the resources if necessary
                     18: 
                     19: res.res: res.rc mdi.h
                     20:     rc -r -fo mdi.tmp res.rc
                     21:     cvtres -$(CPU) mdi.tmp -o res.res
                     22:     del mdi.tmp
                     23: 
                     24: # Update the import library
                     25: 
                     26: debug.lib: debug.obj debug.def
                     27:     lib -machine:$(CPU)     \
                     28:     -def:debug.def         \
                     29:     -out:debug.lib
                     30: 
                     31: # Update the dynamic link library
                     32: 
                     33: debug.dll: debug.obj debug.def
                     34:     $(link)           \
                     35:     -base:0x1C000000  \
                     36:     -dll             \
                     37:     -entry:LibMain    \
                     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: 
                     45: mdi.exe: mdi.obj debug.lib res.res
                     46:     $(link) $(guiflags) -out:mdi.exe mdi.obj debug.lib res.res $(guilibs)

unix.superglobalmegacorp.com

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