Annotation of q_a/samples/readwrit/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: ReadWrit.exe DataBase.dll
                      6: 
                      7: # Update the object files if necessary
                      8: 
                      9: ReadWrit.obj: ReadWrit.c
1.1.1.2 ! root       10:     $(cc) $(cdebug) $(cflags) $(cvars) ReadWrit.c
1.1       root       11: 
                     12: 
                     13: DataBase.obj: DataBase.c
1.1.1.2 ! root       14:     $(cc) $(cdebug) $(cflags) $(cvars) DataBase.c
1.1       root       15: 
                     16: # Update the import library
                     17: 
                     18: DataBase.lib: DataBase.obj DataBase.def
1.1.1.2 ! root       19:     $(cvtobj) $(cvtdebug) database.obj
        !            20:     coff -lib -machine:$(CPU)     \
        !            21:     -def:DataBase.def DataBase.obj \
1.1       root       22:     -out:DataBase.lib
                     23: 
                     24: # Update the dynamic link library
                     25: 
                     26: DataBase.dll: DataBase.obj DataBase.def
1.1.1.2 ! root       27:     $(link) $(linkdebug)           \
1.1       root       28:     -base:0x1C000000  \
                     29:     -dll             \
1.1.1.2 ! root       30: #    -entry:DLLInitExitPoint@12\
        !            31:     -entry:DLLInitExitPoint$(DLLENTRY)\
1.1       root       32:     -out:DataBase.dll   \
1.1.1.2 ! root       33:     DataBase.exp DataBase.obj $(conlibsdll)
1.1       root       34: 
                     35: 
                     36: # Update the executable file if necessary.
                     37: # If so, add the resource back in.
                     38: 
                     39: ReadWrit.exe: ReadWrit.obj DataBase.lib
1.1.1.2 ! root       40:     $(cvtobj) $(cvtdebug) ReadWrit.obj
        !            41:     $(link) $(linkdebug) $(conflags) -out:ReadWrit.exe ReadWrit.obj  DataBase.lib  $(conlibs)

unix.superglobalmegacorp.com

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