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

  1. # FasTrak Generated Makefile - Version 1.3.0
  2. # Created: Tue Dec 14 09:48:19 1993
  3. # Last Modified: Thu Apr 13 10:17:15 1995
  4. # Filename: /tmp_mnt/tools/MWOS.smcgee/SRC/UTILS/FILE/makefile.os9
  5. # This makefile creates a Binary named "file"
  6. # The Link is done at the Object-Code Level
  7. # This program is compiled for OS-9/68K
  8.  
  9. # Macros
  10. CC     = cc
  11. OUTPUT    = file
  12. INPUT    = file.c readmagic.c help.c istar.c
  13. ICDIR    = IDIR/OS9
  14. RELS    = IDIR/OS9/file.r IDIR/OS9/readmagic.r IDIR/OS9/help.r \
  15.        IDIR/OS9/istar.r
  16. # cc opts: -v=. -g -l=sys_clib.l
  17. COPTS    = -to=osk -v=. -g -l=sys_clib.l
  18. LOPTS    = -to=osk -v=. -g -l=sys_clib.l
  19.  
  20. # LINK Command
  21. $(OUTPUT) : $(RELS)
  22.     $(CC) $(RELS) -f=$(OUTPUT) $(LOPTS)
  23.  
  24. # Compile Commands
  25.  
  26. # file - file.c
  27. DEPENDS_file = file.h
  28. $(ICDIR)/file.r : file.c $(DEPENDS_file)
  29.     $(CC) file.c -eas=$(ICDIR) -fd=file.r $(COPTS)
  30.  
  31. # readmagic - readmagic.c
  32. DEPENDS_readmagic = file.h
  33. $(ICDIR)/readmagic.r : readmagic.c $(DEPENDS_readmagic)
  34.     $(CC) readmagic.c -eas=$(ICDIR) -fd=readmagic.r $(COPTS)
  35.  
  36. # help - help.c
  37. DEPENDS_help = file.h
  38. $(ICDIR)/help.r : help.c $(DEPENDS_help)
  39.     $(CC) help.c -eas=$(ICDIR) -fd=help.r $(COPTS)
  40.  
  41. # istar - istar.c
  42. DEPENDS_istar = file.h
  43. $(ICDIR)/istar.r : istar.c $(DEPENDS_istar)
  44.     $(CC) istar.c -eas=$(ICDIR) -fd=istar.r $(COPTS)
  45.  
  46.