Annotation of q_a/samples/guigrep/makefile, revision 1.1

1.1     ! root        1: # Nmake macros for building Windows 32-Bit apps
        !             2: 
        !             3: !include <ntwin32.mak>
        !             4: 
        !             5: # This line allows NMAKE to work as well
        !             6: 
        !             7: all: ntgrep.exe guigrep.dll
        !             8: 
        !             9: # Update the resource if necessary
        !            10: 
        !            11: ntgrep.rbj: ntgrep.rc ntgrep.h
        !            12:     rc -r -fo ntgrep.res ntgrep.rc
        !            13:     cvtres -$(CPU) ntgrep.res -o ntgrep.rbj
        !            14: 
        !            15: guigrep.rbj: guigrep.rc guigrep.h guigrep.dlg
        !            16:     rc -r -fo guigrep.res guigrep.rc
        !            17:     cvtres -$(CPU) guigrep.res -o guigrep.rbj
        !            18: 
        !            19: # update .lib if necessary
        !            20: 
        !            21: guigrep.exp: guigrep.obj guigrep.def
        !            22:     $(implib) -machine:$(CPU)  \
        !            23:     -def:guigrep.def     \
        !            24:     guigrep.obj           \
        !            25:     -out:guigrep.lib     \
        !            26: 
        !            27: 
        !            28: # Update the object file if necessary
        !            29: 
        !            30: ntgrep.obj: ntgrep.c ntgrep.h
        !            31:     $(cc) $(cflags) $(cvarsdll) ntgrep.c
        !            32: 
        !            33: guigrep.obj: guigrep.c guigrep.h
        !            34:     $(cc) $(cflags) $(cvarsdll) /Tp guigrep.c
        !            35: 
        !            36: # Update the executable file if necessary, and if so, add the resource back in.
        !            37: 
        !            38: ntgrep.exe: ntgrep.obj ntgrep.rbj ntgrep.def
        !            39:     $(link) $(guiflags) -out:ntgrep.exe ntgrep.obj ntgrep.rbj $(guilibsdll)
        !            40: 
        !            41: 
        !            42: guigrep.dll: guigrep.obj guigrep.def guigrep.rbj guigrep.exp
        !            43:     $(link)               \
        !            44:     -base:0x1C000000     \
        !            45:     -dll                 \
        !            46:     -entry:_DllMainCRTStartup$(DLLENTRY)  \
        !            47:     -out:guigrep.dll     \
        !            48:     guigrep.rbj guigrep.exp guigrep.obj $(guilibsdll)

unix.superglobalmegacorp.com

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