home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.pdx.edu / 2014.02.ftp.ee.pdx.edu.tar / ftp.ee.pdx.edu / pub / users / Harry / Blitz / version-1-0 / BlitzSrc / makefile-Mac < prev    next >
Makefile  |  2006-03-19  |  773b  |  37 lines

  1. #
  2. # Type 'make' with this 'makefile' file in your current directory to compile
  3. # the BLITZ tools.  It will execute the following commands as needed, based
  4. # on files' most-recent-update times.
  5.  
  6. CC=cc
  7.  
  8. # The "-arch ppc" flag is only needed when compiling for the MAC.
  9. CFLAGS=-g -lm -arch ppc
  10.  
  11. all: asm dumpObj lddd blitz diskUtil hexdump check endian
  12.  
  13. asm: asm.c
  14.     $(CC) $(CFLAGS) asm.c -o asm
  15.  
  16. lddd: lddd.c
  17.     $(CC) $(CFLAGS) lddd.c -o lddd
  18.  
  19. blitz: blitz.c
  20.     $(CC) $(CFLAGS) blitz.c -o blitz
  21.  
  22. dumpObj: dumpObj.c
  23.     $(CC) $(CFLAGS) dumpObj.c -o dumpObj
  24.  
  25. diskUtil: diskUtil.c
  26.     $(CC) $(CFLAGS) diskUtil.c -o diskUtil
  27.  
  28. hexdump: hexdump.c
  29.     $(CC) $(CFLAGS) hexdump.c -o hexdump
  30.  
  31. check: check.c
  32.     $(CC) $(CFLAGS) check.c -o check
  33.  
  34. endian: endian.c
  35.     $(CC) $(CFLAGS) endian.c -o endian
  36.