Annotation of mstools/samples/rpc/whello/makefile.win, revision 1.1.1.1

1.1       root        1: # Standard Windows make file.  The utility MAKE.EXE compares the
                      2: # creation date of the file to the left of the colon with the file(s)
                      3: # to the right of the colon.  If the file(s) on the right are newer
                      4: # then the file on the left, Make will execute all of the command lines
                      5: # following this line that are indented by at least one tab or space.
                      6: # Any valid MS-DOS command line may be used.
                      7: 
                      8: # get operating system-specific definitions
                      9: !INCLUDE ..\makefile.win
                     10: 
                     11: # This line allows NMAKE to work as well
                     12: 
                     13: all: whelloc.exe
                     14: 
                     15: cc= cl
                     16: cflags= -c -AL -Gsw -Oas -Zpe -Zi -I$(OSINCLUDE)
                     17: linker= link
                     18: lflags= /CO /NOD
                     19: 
                     20: # Update the resource if necessary
                     21: 
                     22: whello.res: whello.rc whelloc.h
                     23:     rc -r whello.rc
                     24: 
                     25: # Update the executable file if necessary, and if so, add the resource back in.
                     26: 
                     27: whelloc.exe: whelloc.obj whello.def whello_c.obj whello_x.obj whello.res
                     28:     $(linker) $(lflags) whelloc whello_c whello_x,,,\
                     29:     libw llibcew rpcw rpcndrw, whello.def
                     30:     rc whello.res whelloc.exe
                     31: 
                     32: # Update the object files if necessary
                     33: 
                     34: whelloc.obj: whelloc.c whelloc.h whello.h
                     35:    $(cc) $(cflags) $(cvars) -DWIN whelloc.c
                     36: 
                     37: whello_c.obj : whello_c.c whelloc.h
                     38:    $(cc) $(cflags) $(cvars) -W1 whello_c.c
                     39: 
                     40: whello_x.obj : whello_x.c whelloc.h
                     41:    $(cc) $(cflags) $(cvars) -W1 whello_x.c
                     42: 
                     43: whello.h whello_c.c whello_s.c whello_y.c whello_x.c : whello.idl whello.acf
                     44:    midl whello.idl -no_cpp
                     45: 
                     46: # Clean up everything
                     47: cleanall : clean
                     48:     -del *.exe
                     49: 
                     50: # Clean up everything but the .EXEs
                     51: clean :
                     52:     -del *.obj
                     53:     -del *.map
                     54:     -del whello.res
                     55:     -del whello_c.c
                     56:     -del whello_x.c
                     57:     -del whello_s.c
                     58:     -del whello_y.c
                     59:     -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.