File:  [WindowsNT SDKs] / q_a / samples / resdll / makefile
Revision 1.1.1.4 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:30:20 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-nov-1993, HEAD
Microsoft Windows NT Build 511 (DDK SDK) 11-01-1993

!include <ntwin32.mak>

!if "$(CPU)" == "i386"
noentry = /NOENTRY
!else
noentry = 
!endif

all: main.exe the_dll.dll

main.obj: main.c
    $(cc) $(cdebug) $(cflags) $(cvars) main.c

the_dll.rbj: the_dll.rc the_dll.bmp the_dll.cur the_dll.ico
    rc -r -fo the_dll.res the_dll.rc
    cvtres -$(CPU) the_dll.res -o the_dll.rbj

the_dll.dll: the_dll.def the_dll.rbj
    $(link)              \
    -dll                 \
    $(noentry)		 \
    -out:the_dll.dll     \
    -subsystem:windows   \
    the_dll.rbj

main.exe: main.obj main.def
    $(link) $(linkdebug) $(guiflags) -out:main.exe main.obj $(guilibsdll)

unix.superglobalmegacorp.com

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