home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / drdobbs / c_spec / execute / makefile < prev    next >
Makefile  |  1986-02-20  |  835b  |  37 lines

  1. #    This makefile creates all the programs in the /util package
  2. #    using Polymake and the Microsoft C compiler. It assumes that
  3. #    all .h files are in a .h directory and all .c files are in
  4. #    the current directory
  5. #
  6. #
  7. all:    cat.exe cp.exe date.exe du.exe echo.exe grep.exe ls.exe \
  8.     mkdir.exe mv.exe p.exe pause.exe printenv.exe rm.exe \
  9.     rmdir.exe sub.exe
  10.  
  11. # ----------------------------------------------------------------------
  12.  
  13. LINK = -link util.lib
  14.  
  15. .SUFFIXES
  16. .c.exe:
  17.     cc $*.c $(LINK) >>err
  18.     del $*.obj
  19.  
  20. # ----------------------------------------------------------------------
  21.  
  22. cat.exe:
  23. cp.exe:
  24. date.exe:       \include\mydos.h
  25. du.exe:           \include\mydos.h
  26. echo.exe:
  27. grep.exe:
  28. ls.exe:           \include\getargs.h \include\dir.h
  29. mkdir.exe:
  30. mv.exe:
  31. p.exe:
  32. pause.exe:
  33. printenv.exe:
  34. rm.exe:
  35. rmdir.exe:
  36. sub.exe:
  37.