File:  [WindowsNT SDKs] / mstools / samples / rpc / whello / makefile.win
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:20:56 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-jun-1992, HEAD
Microsoft Windows NT Build 297 06-28-1992

# Standard Windows make file.  The utility MAKE.EXE compares the
# creation date of the file to the left of the colon with the file(s)
# to the right of the colon.  If the file(s) on the right are newer
# then the file on the left, Make will execute all of the command lines
# following this line that are indented by at least one tab or space.
# Any valid MS-DOS command line may be used.

# get operating system-specific definitions
!INCLUDE ..\makefile.win

# This line allows NMAKE to work as well

all: whelloc.exe

cc= cl
cflags= -c -AL -Gsw -Oas -Zpe -Zi -I$(OSINCLUDE)
linker= link
lflags= /CO /NOD

# Update the resource if necessary

whello.res: whello.rc whelloc.h
    rc -r whello.rc

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

whelloc.exe: whelloc.obj whello.def whello_c.obj whello_x.obj whello.res
    $(linker) $(lflags) whelloc whello_c whello_x,,,\
    libw llibcew rpcw rpcndrw, whello.def
    rc whello.res whelloc.exe

# Update the object files if necessary

whelloc.obj: whelloc.c whelloc.h whello.h
   $(cc) $(cflags) $(cvars) -DWIN whelloc.c

whello_c.obj : whello_c.c whelloc.h
   $(cc) $(cflags) $(cvars) -W1 whello_c.c

whello_x.obj : whello_x.c whelloc.h
   $(cc) $(cflags) $(cvars) -W1 whello_x.c

whello.h whello_c.c whello_s.c whello_y.c whello_x.c : whello.idl whello.acf
   midl whello.idl -no_cpp

# Clean up everything
cleanall : clean
    -del *.exe

# Clean up everything but the .EXEs
clean :
    -del *.obj
    -del *.map
    -del whello.res
    -del whello_c.c
    -del whello_x.c
    -del whello_s.c
    -del whello_y.c
    -del whello.h

unix.superglobalmegacorp.com

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