Annotation of q_a/samples/menus/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: menus.exe
                      8: 
                      9: # Update the resource if necessary
                     10: 
                     11: res.res: res.rc menus.h logo.bmp  tool1.bmp tool2.bmp tool3.bmp tool4.bmp tool5.bmp tool6.bmp
                     12:     rc -r -fo res.tmp res.rc
                     13:     cvtres -$(CPU) res.tmp -o res.res
                     14:     del res.tmp
                     15: 
                     16: # Update the object file if necessary
                     17: 
                     18: menus.obj: menus.c menus.h
                     19:     $(cc) $(cflags) $(cvars) menus.c
                     20: 
                     21: # Update the executable file if necessary, and if so, add the resource back in.
                     22: 
                     23: menus.exe: menus.obj res.res
                     24:     $(link) $(guiflags) -out:menus.exe menus.obj 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.