home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 31 / CDASC_31_1996_juillet_aout.iso / vrac / nfbtr745.zip / MAKEFILE < prev    next >
Text File  |  1996-03-28  |  937b  |  48 lines

  1. #
  2. #PURPOSE: The purpose of this file is to make nfbtrans, the braille
  3. #translation software written by the National Federation of the Blind
  4. #compile under the Unix operating system.
  5. #
  6. #The source and object files are as follows:
  7.  
  8. SRCFILES=nfbtrans.c nfbpatch.c
  9. OBJFILES=nfbtrans.o nfbpatch.o
  10. LIBS= -ltermcap
  11.  
  12. #Compiler and linking flags are as follows:
  13. CFLAGS=-O
  14. CC=gcc
  15. LDFLAGS=-Bdynamic
  16.  
  17. default:
  18.     @echo "type one of the following"
  19.     @echo
  20.     @echo "sunos"
  21.     @echo "sunos-insight"
  22.     @echo "ultrix"
  23.     @echo "aix"
  24.     @echo "linux"
  25. all: nfbtrans
  26.  
  27. #Lint can wait a while
  28.  
  29. nfbtrans: $(OBJFILES)
  30.     $(CC) $(CFLAGS) $(OBJFILES) $(LIBS) -o nfbtrans
  31.  
  32. ultrix:
  33.     $(MAKE) CFLAGS=-O
  34.  
  35. linux:
  36.     $(MAKE) CFLAGS=-O
  37.  
  38. sunos:
  39.     $(MAKE) all CFLAGS="-O -Dsunos -fno-defer-pop"
  40.  
  41. insight:
  42.     insight -fno-builtin -fwritable-strings \
  43.     $(CFLAGS) $(OBJFILES) $(LIBS) -o nfbtrans
  44.  
  45. aix:
  46.     $(MAKE) all CC=cc CFLAGS="-o -Dunix -Daix"
  47.  
  48.