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

!include <ntwin32.MAK>

proj = wsock
mylibs = wsock32.lib

all: $(proj).exe

# Update the resource if necessary
$(proj).res: $(proj).rc $(proj).dlg $(proj).h
    rc -r -fo $(proj).res $(cvars) $(proj).rc
!IFDEF CPUTYPE
    cvtres -$(CPU) $(proj).res -o $(proj).rbj
!ENDIF


# Update the object files if necessary
$(proj).obj: $(proj).c $(proj).h
    $(cc) $(cflags) $(cvarsmt) $(cdebug) $(proj).c

dialogs.obj: dialogs.c $(proj).h
    $(cc) $(cflags) $(cvarsmt) $(cdebug) dialogs.c

# Since the link line has some severe differences depending on what
# platform we are running on, we need to special case this so that
# we execute the correct commands:

$(proj).exe: $(proj).obj dialogs.obj $(proj).res $(proj).def
    $(link) $(linkdebug) $(guiflags) $(proj).obj dialogs.obj $(guilibsmt) $(mylibs) $(proj).rbj -out:$(proj).exe


# Clean up everything
clean :
    -del *.rbj
    -del *.res
    -del *.exe
    -del *.obj

unix.superglobalmegacorp.com

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