Annotation of mstools/win32s/ut/samples/utsample/makefile, revision 1.1.1.1

1.1       root        1: # *********************************************************
                      2: #  makefile: for UTSamp sample
                      3: #
                      4: #
                      5: # *********************************************************
                      6: 
                      7: !include <ntwin32.mak>
                      8: 
                      9: proj = utsamp
                     10: 
                     11: all: $(proj)32.dll $(proj).exe
                     12: 
                     13: #
                     14: # utsamp16.dll must be built using makefile.16 with a 16 bit compiler
                     15: #
                     16: 
                     17: # Update the resource if necessary
                     18: 
                     19: $(proj).rbj: $*.rc $*.h $*.dlg $*.ico
                     20:     rc -r -fo $*.res $(cvars) $*.rc
                     21:     cvtres -$(CPU) $*.res -o $@
                     22: 
                     23: # Update the object file if necessary
                     24: 
                     25: $(proj).obj: $*.c
                     26:     $(cc) $(cdebug) $(cflags) $(cvars) $*.c
                     27: 
                     28: # Update the executable file if necessary, and if so, add the resource
                     29: # back in
                     30: 
                     31: $(proj).exe: $*.obj $*.rbj $(proj)32.lib
                     32:     $(link) $(linkdebug) $(guiflags) $*.obj $*.rbj $(guilibs) $(proj)32.lib -out:$@
                     33: 
                     34: $(proj)32.obj: $*.c $(proj).h
                     35:     $(cc) $(cflags) $(cvarsdll) $(cdebug) $*.c
                     36: 
                     37: $(proj)32.lib $(proj)32.exp: $*.obj $*.def
                     38:     $(implib) -machine:$(CPU) -def:$*.def $*.obj -out:$*.lib
                     39: 
                     40: $(proj)32.dll: $*.obj $*.def $*.exp
                     41:     $(link) $(conflags) $(ldebug) -dll -entry:DllInit$(DLLENTRY) -base:0x20000000 -out:$@ $*.exp $*.obj $(guilibsdll) w32sut32.lib mpr.lib

unix.superglobalmegacorp.com

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