Annotation of mstools/samples/mfedit/makefile, revision 1.1.1.2

1.1       root        1: # some NT Win32 nmake macros
                      2: # for now this resides in samples\inc
                      3: 
                      4: !include <ntwin32.mak>
                      5: 
                      6: cvars=-DNT -DWIN -DWIN32
1.1.1.2 ! root        7: obj=obj
1.1       root        8: 
1.1.1.2 ! root        9: !IF "$(CPU)" == "i386"
        !            10: mycflag = -Fo.\$(obj)\\
        !            11: !ELSE
        !            12: mycflag = -o .\$(obj)\$(*B).obj -Olimit 700
        !            13: !ENDIF
1.1       root       14: 
                     15: all: mfedit.exe
                     16: 
                     17: # Update the object file if necessary
                     18: 
1.1.1.2 ! root       19: $(obj)\mfedit.obj: mfedit.c mfedit.h
        !            20:     IF NOT EXIST $(obj) md obj
        !            21:     $(cc) $(cdebug) $(cflags) $(mycflag) $(cvars) mfedit.c
1.1       root       22: 
                     23: # Update the resources if necessary
                     24: 
1.1.1.2 ! root       25: $(obj)\mfedit.rbj: mfedit.rc mfedit.h
        !            26:     rc -r -fo .\$(obj)\mfedit.res mfedit.rc
        !            27:     cvtres -$(CPU) $(obj)\mfedit.res -o $(obj)\mfedit.rbj
1.1       root       28: 
                     29: # Update the executable file if necessary, and if so, add the resource back in.
                     30: 
1.1.1.2 ! root       31: mfedit.exe: $(obj)\mfedit.obj \
        !            32:             $(obj)\mfedit.rbj
        !            33:     $(cvtobj) $(cvtdebug) $(obj)\*.obj
        !            34:     $(link) $(linkdebug) $(guiflags) -out:mfedit.exe    \
        !            35:     $(obj)\mfedit.obj \
        !            36:     $(obj)\mfedit.rbj $(guilibs) shell32.lib

unix.superglobalmegacorp.com

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