home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / assembler / as / src / MakefileU < prev   
Encoding:
Text File  |  1993-03-07  |  4.3 KB  |  104 lines

  1. CC=    gcc
  2. CFLAGS=    -DUNIX -ansi -g #-O2
  3.  
  4. PROG=    aas
  5. OBJS=    area.o asm.o commands.o decode.o error.o eval.o expr.o \
  6.     get.o hash.o help_cop.o help_cpu.o input.o lex.o main.o m_cop.o \
  7.     m_copmem.o m_cpu.o m_cpuctrl.o m_cpumem.o m_fpu.o m_fpumem.o option.o \
  8.     output.o put.o symbol.o code.o help_eval.o fix.o reloc.o value.o \
  9.     help_lex.o storage.o endian.o include.o filestack.o lexAcorn.o lit.o
  10. LIBS=    -lm
  11. INSTALLDIR= /home/nimrod/duplain/bin
  12.  
  13. all:    $(PROG)
  14.  
  15. $(PROG):    $(OBJS)
  16.     $(CC) -o $(PROG) $(OBJS) $(LIBS)
  17.  
  18. mkendian:    mkendian.c
  19.     $(CC) $(CFLAGS) -o mkendian mkendian.c
  20.  
  21. testendian:    testendian.o endian.o
  22.     $(CC) -o testendian testendian.o endian.o
  23.  
  24. install:    all
  25.     install $(PROG) $(INSTALLDIR)
  26.  
  27. clean:
  28.     rm -f $(PROG) mkendian testendian *.o a.out core *.bak
  29.  
  30. endian.h:    mkendian
  31.         mkendian
  32.  
  33. version.h:
  34.         sh mkversion
  35.  
  36. postfix.o:    postfix.o postfix.h global.h lex.h symbol.h eval.h reloc.h \
  37.         error.h area.h option.h input.h AofFile.h
  38. asm.o:        asm.c input.h global.h error.h decode.h symbol.h lex.h \
  39.         value.h area.h reloc.h asm.h code.h
  40. commands.o:    commands.c error.h global.h input.h lex.h help_lex.h \
  41.         symbol.h value.h expr.h code.h reloc.h value.h put.h \
  42.         commands.h fix.h filestack.h
  43. decode.o:    decode.c decode.h symbol.h lex.h global.h value.h input.h \
  44.         commands.h mnemonics.h storage.h option.h error.h filestack.h
  45. error.o:    error.c error.h global.h input.h 
  46. eval.o:        eval.c global.h eval.h lex.h value.h error.h
  47. expr.o:        expr.c expr.h value.h global.h lex.h error.h global.h \
  48.         symbol.h code.h reloc.h area.h
  49. get.o:        get.c get.h global.h error.h input.h lex.h symbol.h value.h \
  50.         expr.h reloc.h help_cpu.h fix.h
  51. help_cop.o:    help_cop.c error.h global.h expr.h value.h help_cop.h \
  52.         input.h area.h symbol.h lex.h reloc.h get.h option.h value.h \
  53.         code.h fix.h reloc.h
  54. help_cpu.o:    help_cpu.c help_cpu.h error.h global.h
  55. input.o:    input.c error.h global.h global.h input.h 
  56. main.o:        main.c input.h global.h output.h error.h asm.h area.h \
  57.         symbol.h lex.h value.h reloc.h version.h include.h
  58. m_cop.o:    m_cop.c mnemonics.h error.h global.h option.h input.h expr.h \
  59.         value.h reloc.h symbol.h lex.h put.h area.h get.h help_cop.h
  60. m_copmem.o:    m_copmem.c mnemonics.h error.h global.h option.h input.h \
  61.         expr.h value.h reloc.h symbol.h lex.h put.h area.h get.h \
  62.         help_cop.h
  63. m_cpu.o:    m_cpu.c mnemonics.h error.h global.h option.h put.h input.h \
  64.         global.h expr.h value.h area.h symbol.h lex.h reloc.h get.h \
  65.         m_cpu.h
  66. m_cpuctrl.o:    m_cpuctrl.c mnemonics.h error.h global.h option.h put.h \
  67.         input.h global.h expr.h value.h code.h lex.h symbol.h \
  68.         reloc.h area.h help_cpu.h get.h value.h fix.h
  69. m_cpumem.o:    m_cpumem.c mnemonics.h error.h global.h option.h put.h \
  70.         input.h global.h expr.h value.h code.h lex.h symbol.h \
  71.         reloc.h area.h get.h fix.h expr.h
  72. m_fpu.o:    m_fpu.c mnemonics.h error.h global.h option.h input.h \
  73.         expr.h value.h code.h lex.h symbol.h reloc.h get.h put.h \
  74.         area.h value.h m_fpu.h fix.h reloc.h
  75. m_fpumem.o:    m_fpumem.c mnemonics.h input.h global.h get.h put.h help_cop.h
  76. option.o:    option.c option.h global.h error.h input.h
  77. put.o:        put.c put.h global.h error.h area.h symbol.h lex.h value.h \
  78.         reloc.h
  79. code.o:        code.c code.h global.h lex.h symbol.h value.h reloc.h \
  80.         error.h eval.h area.h option.h input.h AofFile.h storage.h
  81. help_eval.o:    help_eval.c global.h help_eval.h value.h eval.h lex.h \
  82.         error.h symbol.h
  83. fix.o:        fix.c error.h global.h help_cpu.h fix.h global.h m_cpu.h \
  84.         m_fpu.h option.h
  85. reloc.o:    reloc.c code.h global.h lex.h symbol.h value.h reloc.h \
  86.         lex.h symbol.h global.h error.h eval.h reloc.h area.h \
  87.         option.h input.h AofFile.h fix.h
  88. value.o:    value.c value.h global.h code.h lex.h symbol.h reloc.h error.h
  89. help_lex.o:    help_lex.c global.h error.h help_lex.h
  90. storage.o:    storage.c storage.h value.h global.h symbol.h lex.h value.h \
  91.         get.h lex.h input.h expr.h error.h
  92. area.o:        area.c lex.h global.h hash.h symbol.h value.h commands.h \
  93.         error.h input.h expr.h area.h reloc.h
  94. lex.o:        lex.c error.h global.h lex.h help_lex.h input.h hash.h \
  95.         symbol.h value.h
  96. symbol.o:    symbol.c symbol.h lex.h global.h value.h global.h error.h \
  97.         AofFile.h code.h reloc.h help_lex.h
  98. output.o:    output.c error.h global.h ChunkFile.h AofFile.h symbol.h \
  99.         lex.h value.h output.h area.h reloc.h 
  100. endian.o:    endian.c endian.h
  101. include.o:    include.c
  102. filestack.o:    filestack.c
  103. lexAcorn.o:    lexAcorn.c lex.h input.h
  104. lit.o:    lit.c error.h input.h area.h reloc.h put.h fix.h lit.h