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

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
1.1.1.2 ! root       18:     $(rc) $(rcvars) -r phtest.rc
1.1       root       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
1.1.1.2 ! root       26:     $(implib) -machine:$(CPU)     \
1.1       root       27:     -def:proghelp.def      \
                     28:     proghelp.obj                   \
                     29:     -out:proghelp.lib
                     30: 
                     31: # Update the dynamic link library
                     32: 
                     33: proghelp.dll: proghelp.obj proghelp.def
                     34:     $(link) $(linkdebug)     \
                     35:     -base:0x1C000000  \
                     36:     -dll             \
                     37:     -entry:ProgHelpInit$(DLLENTRY) \
                     38:     -out:proghelp.dll   \
                     39:     proghelp.exp proghelp.obj $(guilibsdll)
                     40: 
                     41: 
                     42: # Update the executable file if necessary.
                     43: # If so, add the resource back in.
                     44: 
                     45: phtest.exe: phtest.obj proghelp.lib phtest.rbj
                     46:     $(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.