Annotation of mstools/samples/sdktools/winat/makefile, revision 1.1

1.1     ! root        1: OS=NT
        !             2: ENV=WIN32
        !             3: 
        !             4: # rem this line to build a debug version
        !             5: NODEBUG = 1
        !             6: 
        !             7: !include <$(OS)$(ENV).MAK>
        !             8: 
        !             9: proj  = WINAT
        !            10: proj2 = listhscr
        !            11: 
        !            12: mydefines = $(scall)
        !            13: mylibs    = ADVAPI32.LIB VERSION.LIB NETAPI32.LIB SHELL32.LIB
        !            14: 
        !            15: all: $(proj2).obj $(proj).exe $(proj).hlp
        !            16: 
        !            17: # Update the help file if necessary
        !            18: $(proj).hlp : $(proj).rtf $(proj).hpj
        !            19:     hc -n $(proj).hpj
        !            20: 
        !            21: # Update the resource if necessary
        !            22: $(proj).res: $(proj).rc $(proj).rcv $(proj).dlg $(proj).h
        !            23:     rc -r -fo $(proj).res $(cvars) $(proj).rc
        !            24:     cvtres -$(CPU) $(proj).res -o $(proj).rbj
        !            25: 
        !            26: # Update the object file if necessary
        !            27: $(proj2).obj: $(proj2).c $(proj2).h
        !            28:     $(cc) $(cflags) $(cvars) $(cdebug) $(mydefines) $(proj2).c
        !            29: 
        !            30: # Update the object file if necessary
        !            31: $(proj).obj: $(proj).c $(proj).h
        !            32:     $(cc) $(cflags) $(cvars) $(cdebug) $(mydefines) $(proj).c
        !            33: 
        !            34: # Update the executable file
        !            35: $(proj).exe: $(proj).obj $(proj).res $(proj).hlp $(proj2).obj
        !            36:     $(link) -MAP:$(proj).map $(linkdebug) $(guiflags) $(proj).obj $(proj2).obj $(guilibs) $(proj).rbj $(mylibs) -out:$(proj).exe
        !            37: 
        !            38: ##### Clean Directory #####
        !            39: clean:
        !            40:     -del $(proj).exe
        !            41:     -del $(proj).obj
        !            42:     -del $(proj).res
        !            43:     -del $(proj).rbj
        !            44:     -del $(proj).map
        !            45: #    -del $(proj).sym
        !            46: 
        !            47:     -del $(proj).hlp
        !            48:     -del $(proj).err
        !            49: 
        !            50:     -del $(proj2).obj
        !            51: 
        !            52: public:
        !            53:     copy $(proj).exe l:\public\$(proj)\.
        !            54:     copy $(proj).hlp l:\public\$(proj)\.

unix.superglobalmegacorp.com

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