File:  [WindowsNT SDKs] / q_a / samples / mutex / makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:29:19 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-jun-1992, HEAD
Microsoft Windows NT Build 297 06-28-1992

# Nmake macros for building Windows 32-Bit apps

!include <ntwin32.mak>

# This line allows NMAKE to work as well

all: mutex.exe

# Update the resource if necessary

res.res: res.rc mutex.h
    rc -r -fo res.tmp res.rc
    cvtres -$(CPU) res.tmp -o res.res
    del res.tmp

# Update the object file if necessary

mutex.obj: mutex.c mutex.h
    $(cc) $(cflags) $(cvars) mutex.c

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

mutex.exe: mutex.obj res.res
    $(link) $(guiflags) -out:mutex.exe mutex.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.