home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / source / cardpkg_1.2.lha / CardPkg / makefile < prev    next >
Encoding:
Makefile  |  1994-09-26  |  2.0 KB  |  72 lines

  1. # /************************************************************
  2. #
  3. #     TML's C Language Card Image Package  v1.1
  4. #     January, 1993
  5. #     Todd M. Lewis             (919) 776-7386
  6. #     2601 Piedmont Drive
  7. #     Sanford, NC  27330-9437
  8. #     USA
  9. # ************************************************************/
  10.  
  11. OPT = -qv -wc -hi includes
  12.  
  13. # The options listed above mean the following things to
  14. # the Manx Aztec C compiler (cc):
  15. #   -qv       Be verbose about what file is being read.
  16. #   -wc       Turn off warning about signed vs. unsigned character pointers.
  17. #   -bs       Produce debugging information.
  18. #   -hi includes Read the pre-compiled header file "includes"
  19. #   -ho includes Dump the symbol table to the file "includes"
  20. #
  21. # The linker (ln) options are:
  22. #   -g        Produce a debugging file.
  23. #   +cd       Put initialized data into CHIP RAM.
  24. #   -lc       link with the library "c.lib"
  25.  
  26. all: Hello_V Hello_H trimline
  27. vertical: Cards.o CardVImages.o
  28. horizontal: Cards.o CardHImages.o
  29.  
  30. trimline: trimline.c
  31.    cc trimline.c
  32.    ln trimline.o -lc
  33.  
  34. CardHBrush.c: CardHBrush trimline
  35.     ILBMtoC CardHBrush
  36.     trimline <CardHBrush.c >t:x
  37.     copy t:x CardHBrush.c
  38.  
  39. CardVBrush.c: CardVBrush trimline
  40.     ILBMtoC CardVBrush
  41.     trimline <CardVBrush.c >t:x
  42.     copy t:x CardVBrush.c
  43.  
  44. CardHImages.o: CardHImages.c CardHImages.h Cards.h CardHBrush.c includes
  45.         cc $(OPT) CardHImages.c
  46.  
  47. Cards.o      : Cards.c Cards.h includes
  48.         cc $(OPT) Cards.c
  49.  
  50. CardVImages.o: CardVImages.c CardVImages.h Cards.h CardVBrush.c includes
  51.         cc $(OPT) CardVImages.c
  52.  
  53. Hello_H.o: Hello_H.c CardHImages.h Cards.h includes
  54.     cc $(OPT) Hello_H.c
  55.  
  56. Hello_H: Hello_H.o CardHImages.o Cards.o
  57.     ln +cd Hello_H.o CardHImages.o Cards.o -lc
  58.  
  59. Hello_V.o: Hello_V.c CardVImages.h Cards.h includes
  60.     cc $(OPT) Hello_V.c
  61.  
  62. Hello_V: Hello_V.o CardVImages.o Cards.o
  63.     ln +cd Hello_V.o CardVImages.o Cards.o -lc
  64.  
  65. includes: includes.c
  66.     cc -qv -wc -ho includes includes.c
  67.  
  68. clean:
  69.     delete Hello_H.dbg CardHImages.o Hello_H.o Hello_V.dbg \
  70.            Hello_V.o CardVImages.o Cards.o includes
  71.  
  72.