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

# *********************************************************
#  makefile: for UTSamp sample
#
#
# *********************************************************

!include <ntwin32.mak>

proj = utsamp

all: $(proj)32.dll $(proj).exe

#
# utsamp16.dll must be built using makefile.16 with a 16 bit compiler
#

# Update the resource if necessary

$(proj).rbj: $*.rc $*.h $*.dlg $*.ico
    rc -r -fo $*.res $(cvars) $*.rc
    cvtres -$(CPU) $*.res -o $@

# Update the object file if necessary

$(proj).obj: $*.c
    $(cc) $(cdebug) $(cflags) $(cvars) $*.c

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

$(proj).exe: $*.obj $*.rbj $(proj)32.lib
    $(link) $(linkdebug) $(guiflags) $*.obj $*.rbj $(guilibs) $(proj)32.lib -out:$@

$(proj)32.obj: $*.c $(proj).h
    $(cc) $(cflags) $(cvarsdll) $(cdebug) $*.c

$(proj)32.lib $(proj)32.exp: $*.obj $*.def
    $(implib) -machine:$(CPU) -def:$*.def $*.obj -out:$*.lib

$(proj)32.dll: $*.obj $*.def $*.exp
    $(link) $(conflags) $(ldebug) -dll -entry:DllInit$(DLLENTRY) -base:0x20000000 -out:$@ $*.exp $*.obj $(guilibsdll) w32sut32.lib mpr.lib

unix.superglobalmegacorp.com

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