Annotation of mstools/samples/nwlink/ping/makefile, revision 1.1.1.1

1.1       root        1: !include <ntwin32.MAK>
                      2: 
                      3: proj = ping
                      4: mylibs = wsock32.lib ..\testlib\testlib.lib
                      5: 
                      6: all: $(proj).exe
                      7: 
                      8: # Update the object files if necessary
                      9: $(proj).obj: $(proj).c ..\testlib\testlib.lib
                     10:     $(cc) $(cflags) $(cvarsmt) $(cdebug) $(proj).c
                     11: 
                     12: # Create library if necessary.
                     13: ..\testlib\testlib.lib :
                     14:   cd ..\testlib
                     15:   $(MAKE) /A
                     16:   cd ..\ping
                     17: 
                     18: # Since the link line has some severe differences depending on what
                     19: # platform we are running on, we need to special case this so that
                     20: # we execute the correct commands:
                     21: 
                     22: $(proj).exe: $(proj).obj
                     23:     $(link) $(linkdebug) $(conlflags) $(proj).obj  $(conlibs) $(mylibs) -out:$(proj).exe
                     24: 
                     25: 
                     26: # Clean up everything
                     27: clean :
                     28:     -del *.exe
                     29:     -del *.obj

unix.superglobalmegacorp.com

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