Annotation of mstools/samples/select/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: all: demo.exe select.dll
                      6: 
                      7: # Update the object files if necessary
                      8: 
                      9: demo.obj: demo.c
1.1.1.2 ! root       10:     $(cc) $(cflags) $(cvarsdll) $(cdebug) demo.c
1.1       root       11: 
                     12: select.obj: select.c
                     13:     $(cc) $(cflags) $(cvarsdll) $(cdebug) select.c
                     14: 
                     15: # Update the resources if necessary
                     16: 
                     17: demo.res: demo.rc demo.h
1.1.1.2 ! root       18:     $(rc) $(rcvars) -r demo.rc
1.1       root       19: 
                     20: demo.rbj: demo.res
                     21:     cvtres -$(CPU) demo.res -o demo.rbj
                     22: 
                     23: # Update the import library
                     24: 
                     25: select.lib: select.obj select.def
1.1.1.2 ! root       26:     $(implib) -machine:$(CPU)     \
1.1       root       27:     -def:select.def        \
                     28:     select.obj             \
                     29:     -out:select.lib
                     30: 
                     31: # Update the dynamic link library
                     32: 
                     33: select.dll: select.obj select.def
                     34:     $(link) $(linkdebug)     \
                     35:     -base:0x1C000000  \
                     36:     -dll             \
1.1.1.2 ! root       37:     -entry:_DllMainCRTStartup$(DLLENTRY)    \
1.1       root       38:     -out:select.dll   \
                     39:     select.exp select.obj $(guilibsdll)
                     40: 
                     41: 
                     42: # Update the executable file if necessary.
                     43: # If so, add the resource back in.
                     44: 
                     45: demo.exe: demo.obj select.lib demo.rbj demo.def
1.1.1.2 ! root       46:     $(link) $(linkdebug) $(guiflags) -out:demo.exe demo.obj select.lib demo.rbj $(guilibsdll)

unix.superglobalmegacorp.com

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