File:  [WindowsNT SDKs] / q_a / samples / menus / makefile
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:29:25 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-oct-1992, HEAD
Microsoft Windows NT Build 328 10-12-1992

# Nmake macros for building Windows 32-Bit apps

!include <ntwin32.mak>

all: menus.exe

# Update the resource if necessary

menus.res: menus.rc menus.h logo.bmp  tool1.bmp tool2.bmp tool3.bmp tool4.bmp tool5.bmp tool6.bmp
    rc -r -fo menus.tmp menus.rc
    cvtres -$(CPU) menus.tmp -o menus.res
    del menus.tmp

# Update the object file if necessary

menus.obj: menus.c menus.h
    $(cc) $(cdebug) $(cflags) $(cvars) menus.c

# Update the executable file if necessary, and if so, add the resource back in.

menus.exe: menus.obj menus.res
    $(cvtobj) $(cvtdebug) *.obj
    $(link) $(linkdebug) $(guiflags) -out:menus.exe menus.obj menus.res $(guilibs)

unix.superglobalmegacorp.com

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