Annotation of mstools/samples/wsock/makefile, revision 1.1.1.1

1.1       root        1: !include <ntwin32.MAK>
                      2: 
                      3: proj = wsock
                      4: mylibs = wsock32.lib
                      5: 
                      6: all: $(proj).exe
                      7: 
                      8: # Update the resource if necessary
                      9: $(proj).res: $(proj).rc $(proj).dlg $(proj).h
                     10:     rc -r -fo $(proj).res $(cvars) $(proj).rc
                     11: !IFDEF CPUTYPE
                     12:     cvtres -$(CPU) $(proj).res -o $(proj).rbj
                     13: !ENDIF
                     14: 
                     15: 
                     16: # Update the object files if necessary
                     17: $(proj).obj: $(proj).c $(proj).h
                     18:     $(cc) $(cflags) $(cvarsmt) $(cdebug) $(proj).c
                     19: 
                     20: dialogs.obj: dialogs.c $(proj).h
                     21:     $(cc) $(cflags) $(cvarsmt) $(cdebug) dialogs.c
                     22: 
                     23: # Since the link line has some severe differences depending on what
                     24: # platform we are running on, we need to special case this so that
                     25: # we execute the correct commands:
                     26: 
                     27: $(proj).exe: $(proj).obj dialogs.obj $(proj).res $(proj).def
                     28:     $(link) $(linkdebug) $(guiflags) $(proj).obj dialogs.obj $(guilibsmt) $(mylibs) $(proj).rbj -out:$(proj).exe
                     29: 
                     30: 
                     31: # Clean up everything
                     32: clean :
                     33:     -del *.rbj
                     34:     -del *.res
                     35:     -del *.exe
                     36:     -del *.obj

unix.superglobalmegacorp.com

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