Annotation of q_a/samples/resdll/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: main.exe the_dll.dll
                      8: 
                      9: # Update the object files if necessary
                     10: 
                     11: main.obj: main.c
                     12:     $(cc) $(cflags) $(cvars) main.c
                     13: 
                     14: the_dll.res: the_dll.rc the_dll.bmp the_dll.cur the_dll.ico
                     15:     rc -r -fo the_dll.tmp the_dll.rc
                     16:     cvtres -$(CPU) the_dll.tmp -o the_dll.res
                     17:     del the_dll.tmp
                     18: 
                     19: # Update the dynamic link library
                     20: 
                     21: the_dll.dll: the_dll.def the_dll.res
                     22:     $(link)              \
                     23:     -base:0x1C000000     \
                     24:     -dll                 \
                     25:     -out:the_dll.dll     \
                     26:     the_dll.res $(guilibs)
                     27: 
                     28: 
                     29: # Update the executable file if necessary.
                     30: # If so, add the resource back in.
                     31: 
                     32: main.exe: main.obj main.def
                     33:     $(link) $(guiflags) -out:main.exe main.obj $(guilibs)

unix.superglobalmegacorp.com

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