Annotation of mstools/samples/select/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: all: demo.exe select.dll
                      6: 
                      7: # Update the object files if necessary
                      8: 
                      9: demo.obj: demo.c
                     10:     $(cc) $(cflags) $(cvars) $(cdebug) demo.c
                     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
                     18:     rc -r demo.rc
                     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
                     26:     $(cvtobj) $(cvtdebug) select.obj
                     27:     lib -machine:$(CPU)     \
                     28:     -def:select.def        \
                     29:     select.obj             \
                     30:     -out:select.lib
                     31: 
                     32: # Update the dynamic link library
                     33: 
                     34: select.dll: select.obj select.def
                     35:     $(link) $(linkdebug)     \
                     36:     -base:0x1C000000  \
                     37:     -dll             \
                     38:     -entry:LibMain$(DLLENTRY)    \
                     39:     -out:select.dll   \
                     40:     select.exp select.obj $(guilibsdll)
                     41: 
                     42: 
                     43: # Update the executable file if necessary.
                     44: # If so, add the resource back in.
                     45: 
                     46: demo.exe: demo.obj select.lib demo.rbj demo.def
                     47:     $(cvtobj) $(cvtdebug) *.obj
                     48:     $(link) $(linkdebug) $(guiflags) -out:demo.exe demo.obj select.lib demo.rbj $(guilibs)

unix.superglobalmegacorp.com

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