home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / ntcode / ntwhich / makefile < prev    next >
Encoding:
Makefile  |  1995-05-19  |  570 b   |  23 lines

  1. # makefile for ntwhich
  2. # This is free software and can be modified and redistributed under
  3. # certain conditions described in the file COPYING.TXT. The
  4. # Disclaimer of Warranty and License for this free software are also
  5. # contained in the file COPYING.TXT.
  6. #
  7.  
  8. !include <ntwin32.mak>
  9. FILES=ntwhich.c ntwhich.h makefile ntwhich.exe ntwhich.txt copying.txt
  10. all: ntwhich.exe
  11.  
  12. ntwhich.exe: ntwhich.obj
  13.   $(link) $(conflags) -out:$*.exe $** $(conlibs)
  14.  
  15. .c.obj:
  16.   $(cc) $(cflags) $(cvars) $*.c
  17.  
  18. clean:
  19.     -erase *.obj
  20.  
  21. distrib:
  22.     -pkzip ntwhich.zip $(FILES)
  23.