home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / program / compiler / fasbin21 / fas_src / makefile.dos < prev    next >
Makefile  |  1990-12-11  |  2KB  |  77 lines

  1. #
  2. # HEADER:    ;
  3. # TITLE:    Frankenstein Cross Assemblers;
  4. # VERSION:     2.0;
  5. # SYSTEM:    MS-DOS;
  6. # FILENAME:    makefile (dos);
  7. # DESCRIPTION: "Reconfigurable Cross-assembler producing Intel (TM)
  8. #        Hex format object records.  ";
  9. # KEYWORDS:     cross-assemblers, 1805, 2650, 6301, 6502, 6805, 6809, 
  10. #        6811, tms7000, 8048, 8051, 8096, z8, z80;
  11. # WARNINGS:    "the bison simple parser, simple.prs in the version
  12. #        used, must be accessable.
  13. #
  14. #        The version of bison used produces output files named
  15. #        {name}.c and {name}.h as opposed to the original
  16. #        {name}.tab.[ch].
  17. #    
  18. #        This software is in the public domain.  
  19. #        Any prior copyright claims are relinquished.  
  20. #    
  21. #        This software is distributed with no warranty whatever.  
  22. #        The author takes no responsibility for the consequences 
  23. #        of its use.
  24. #    
  25. #        Yacc (or Bison) required to compile."  ;
  26. # AUTHORS:    Mark Zenier;
  27. # COMPILERS:    Turbo C v 1.5, Bison (Cug disk 285, January 1989);
  28. #
  29. #    usage
  30. #        make -DTARGET=as1805
  31. #
  32. #
  33. #    Conditional Compilation Flags
  34. #
  35. #    DOSTMP        use the current directory for temporary intermediate
  36. #            file
  37. #    NOGETOPT    use the getopt.h file
  38. #    USEINDEX    redefine the strchr() library function to use
  39. #            the older equivalent name index()
  40. #    NOSTRING    use internal definitions if the <string.h> include
  41. #            file does not exist
  42. #
  43.  
  44. CFLAGS = 
  45. YACCLEXLIB =
  46. LEXNEEDS =
  47. MAINNEEDS = -DDOSTMP -DNOGETOPT
  48. MAINDEPENDS = getopt.h
  49.  
  50.  
  51. $(TARGET) : frasmain.obj frapsub.obj fryylex.obj $(TARGET).obj fraosub.obj 
  52.     tcc $(CFLAGS) -e$(TARGET) frasmain.obj frapsub.obj\
  53.         fraosub.obj fryylex.obj $(TARGET).obj $(YACCLEXLIB)
  54.     del fraytok.h
  55.  
  56. frasmain.obj : frasmain.c  frasmdat.h $(MAINDEPENDS)
  57.     tcc $(CFLAGS) $(MAINNEEDS) -c frasmain.c
  58.  
  59. fryylex.obj : fryylex.c fraytok.h  frasmdat.h
  60.     tcc $(CFLAGS) $(LEXNEEDS) -c fryylex.c
  61.  
  62. $(TARGET).c $(TARGET).h : $(TARGET).y
  63.     bison -d $(TARGET).y
  64.  
  65. fraytok.h : $(TARGET).h
  66.     copy $(TARGET).h fraytok.h
  67.  
  68. $(TARGET).obj : $(TARGET).c  frasmdat.h fragcon.h
  69.     tcc $(CFLAGS) -c $(TARGET).c
  70.  
  71. frapsub.obj : frapsub.c fragcon.h frasmdat.h fraeuni.h fraebin.h
  72.     tcc $(CFLAGS) -c frapsub.c
  73.  
  74. fraosub.obj : fraosub.c  frasmdat.h fragcon.h fraeuni.h fraebin.h
  75.     tcc $(CFLAGS) -c fraosub.c
  76.  
  77.