home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / CMDS / file.lzh / makefile.cc < prev    next >
Makefile  |  1995-04-27  |  681b  |  31 lines

  1. # Makefile.cc - compiles the 'file' utility
  2. #    (Thanks to Mike Haaland for this!)
  3. #
  4. # This is for Microware's 3.2 compiler
  5. # The Link is done at the Object-Code Level
  6. # This program is compiled for OS-9/68K
  7. #
  8. # Macros
  9. CC         = cc
  10. ODIR    = /dd/cmds
  11. OFILE    = file
  12. EDITION = 4
  13. RDIR    = IDIR/OS9
  14. RFILES    = file.r readmagic.r help.r istar.r strextra.r strtoul.r
  15. CFLAGS    = -g -q -v=. -d_BSD
  16. LFLAGS    = $(CFLAGS) -e=$(EDITION)
  17.  
  18. # LINK Command
  19.  
  20. $(OFILE)        : $(RFILES)
  21.     chd $(RDIR) ; $(CC) $(RFILES) $(LFLAGS) -f=$(OFILE)
  22.  
  23. # dependencies
  24. file.r            : file.c file.h
  25. readmagic.r        : readmagic.c file.h
  26. help.r            : help.c file.h
  27. istar.r            : istar.c file.h
  28. strextra.r        : strextra.c
  29. strtoul.r        : strtoul.c
  30.