Annotation of mstools/samples/ddeml/ddeprog/makefile, revision 1.1.1.1

1.1       root        1: # Nmake macros for building Windows 32-Bit apps
                      2: 
                      3: !include <ntwin32.mak>
                      4: 
                      5: all: phtest.exe proghelp.dll
                      6: 
                      7: # Update the object files if necessary
                      8: 
                      9: phtest.obj: phtest.c
                     10:     $(cc) $(cflags) $(cvars) $(cdebug) phtest.c
                     11: 
                     12: proghelp.obj: proghelp.c
                     13:     $(cc) $(cflags) $(cvarsdll) $(cdebug) proghelp.c
                     14: 
                     15: # Update the resources if necessary
                     16: 
                     17: phtest.res: phtest.rc phtest.h
                     18:     rc -r phtest.rc
                     19: 
                     20: phtest.rbj: phtest.res
                     21:     cvtres -$(CPU) phtest.res -o phtest.rbj
                     22: 
                     23: # Update the import library
                     24: 
                     25: proghelp.lib: proghelp.obj proghelp.def
                     26:     $(cvtobj) $(cvtdebug) proghelp.obj
                     27:     lib -machine:$(CPU)     \
                     28:     -def:proghelp.def      \
                     29:     proghelp.obj                   \
                     30:     -out:proghelp.lib
                     31: 
                     32: # Update the dynamic link library
                     33: 
                     34: proghelp.dll: proghelp.obj proghelp.def
                     35:     $(cvtobj) $(cvtdebug) *.obj
                     36:     $(link) $(linkdebug)     \
                     37:     -base:0x1C000000  \
                     38:     -dll             \
                     39:     -entry:ProgHelpInit$(DLLENTRY) \
                     40:     -out:proghelp.dll   \
                     41:     proghelp.exp proghelp.obj $(guilibsdll)
                     42: 
                     43: 
                     44: # Update the executable file if necessary.
                     45: # If so, add the resource back in.
                     46: 
                     47: phtest.exe: phtest.obj proghelp.lib phtest.rbj
                     48:     $(cvtobj) $(cvtdebug) *.obj
                     49:     $(link) $(linkdebug) $(guiflags) -out:phtest.exe phtest.obj proghelp.lib phtest.rbj $(guilibs)

unix.superglobalmegacorp.com

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