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-Solaris < prev   
Makefile  |  2006-09-25  |  825b  |  38 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=gcc
  7.  
  8. # The "-arch ppc" flag is only needed when compiling for the MAC.
  9. CFLAGS=-g -lm
  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.     echo The 28 warnings about multichar constants are expected
  21.     $(CC) $(CFLAGS) blitz.c -o blitz
  22.  
  23. dumpObj: dumpObj.c
  24.     $(CC) $(CFLAGS) dumpObj.c -o dumpObj
  25.  
  26. diskUtil: diskUtil.c
  27.     $(CC) $(CFLAGS) diskUtil.c -o diskUtil
  28.  
  29. hexdump: hexdump.c
  30.     $(CC) $(CFLAGS) hexdump.c -o hexdump
  31.  
  32. check: check.c
  33.     $(CC) $(CFLAGS) check.c -o check
  34.  
  35. endian: endian.c
  36.     $(CC) $(CFLAGS) endian.c -o endian
  37.