File:  [WindowsNT SDKs] / q_a / samples / scrnsave / makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:29:55 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-nov-1993, ntsdk-jul-1993, HEAD
Microsoft Windows NT Build 511 (SDK Final Release) 07-24-1993

# some NT Win32 nmake macros
# for now this resides in samples\inc

!include <ntwin32.mak>

cvars=-DNT -DWIN -DWIN32
obj=obj
guiflags=-subsystem:windows -entry:mainCRTStartup

mycflag = -Fo.\$(obj)\\

all: fractal.scr

# Update the object file if necessary

$(obj)\fractal.obj: fractal.c fractal.h fractal.def
    IF NOT EXIST $(obj) md obj
    $(cc) $(cdebug) $(cflags) $(mycflag) $(cvars) fractal.c

# Update the resources if necessary

$(obj)\fractal.rbj: fractal.rc fractal.h
    rc -r -fo .\$(obj)\fractal.res fractal.rc
    cvtres -$(CPU) $(obj)\fractal.res -o $(obj)\fractal.rbj

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

fractal.scr: $(obj)\fractal.obj \
	     $(obj)\fractal.rbj
    $(link) $(linkdebug) $(guiflags) -out:fractal.scr	 \
    $(obj)\fractal.obj \
    $(obj)\fractal.rbj $(guilibs) scrnsave.lib

unix.superglobalmegacorp.com

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