File:  [WindowsNT SDKs] / mstools / samples / cdtest / makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:23:40 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

# Nmake macros for building Windows 32-Bit apps

!include <ntwin32.mak>

all: cdtest.exe

OBJS=cdtest.obj open.obj save.obj print.obj font.obj colors.obj find.obj replace.obj title.obj

OTHERCLOPTS=-DWIN32_LEAN_AND_MEAN -nologo
OTHERRCOPTS=-DWIN32_LEAN_AND_MEAN



# Update the resource if necessary

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



# Update the object file if necessary

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

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

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

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

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

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

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

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

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



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

cdtest.exe:  $(OBJS) cdtest.res
    $(link) $(linkdebug) $(guiflags) -out:cdtest.exe $(OBJS) cdtest.res $(guilibs)

unix.superglobalmegacorp.com

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