home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / language / sbprolog / makefile < prev    next >
Encoding:
Makefile  |  1993-10-23  |  2.4 KB  |  72 lines

  1. # /**********************************************************************
  2. # *                                    *
  3. # * The SB-Prolog System                        *
  4. # * Copyright SUNY at Stony Brook, 1986; University of Arizona, 1987    *
  5. # *                                    *
  6. # ***********************************************************************/
  7. # /*-----------------------------------------------------------------
  8. # SB-Prolog is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY.  No author or distributor
  10. # accepts responsibility to anyone for the consequences of using it
  11. # or for whether it serves any particular purpose or works at all,
  12. # unless he says so in writing.  Refer to the SB-Prolog General Public
  13. # License for full details.
  14. # Everyone is granted permission to copy, modify and redistribute
  15. # SB-Prolog, but only under the conditions described in the
  16. # SB-Prolog General Public License.   A copy of this license is
  17. # supposed to have been given to you along with SB-Prolog so you
  18. # can know your rights and responsibilities.  It should be in a
  19. # file named COPYING.  Among other things, the copyright notice
  20. # and this notice must be preserved on all copies. 
  21. # ------------------------------------------------------------------ */
  22. CFLAGS = -c -O2
  23. CC=cgcc
  24. OBJ1   = arith.o buffer.o builtin.o compare.o file.o init_branch.o meta.o
  25. OBJ2   = name.o other.o saverest.o structure.o substuff.o time.o tio.o token.o stlookup.o
  26. OBJS   = $(OBJ1) $(OBJ2) syscall.o
  27. HS     = builtin.h ../aux.h ../sim.h
  28.  
  29. builtin : $(OBJS) 
  30.     touch builtin
  31. #    ld -o builtin -r $(OBJS) -lm
  32. clean:
  33.     rm $(OBJS)
  34.  
  35. arith.o : arith.c $(HS)
  36.     $(CC) $(CFLAGS) arith.c
  37. syscall.o : syscall.c $(HS)
  38.     $(CC) $(CFLAGS) syscall.c
  39. buffer.o : buffer.c $(HS)
  40.     $(CC) $(CFLAGS) buffer.c
  41. builtin.o : builtin.c $(HS) 
  42.     $(CC) $(CFLAGS) builtin.c
  43. compare.o : compare.c $(HS)
  44.     $(CC) $(CFLAGS) compare.c
  45. file.o  : file.c $(HS)
  46.     $(CC) $(CFLAGS) file.c
  47. init_branch.o : init_branch.c $(HS) 
  48.     $(CC) $(CFLAGS) init_branch.c
  49. meta.o  : meta.c $(HS)
  50.     $(CC) $(CFLAGS) meta.c
  51. name.o  : name.c $(HS)
  52.     $(CC) $(CFLAGS) name.c
  53. other.o : other.c $(HS)
  54.     $(CC) $(CFLAGS) other.c
  55. saverest.o : saverest.c ../sim.h ../aux.h 
  56.     $(CC) $(CFLAGS) saverest.c
  57. structure.o : structure.c $(HS)
  58.     $(CC) $(CFLAGS) structure.c
  59. substuff.o : substuff.c ../sim.h
  60.     $(CC) $(CFLAGS) substuff.c
  61. time.o  : time.c $(HS)
  62.     $(CC) $(CFLAGS) time.c
  63. tio.o   : tio.c $(HS)
  64.     $(CC) $(CFLAGS) tio.c
  65. token.o : token.c $(HS)
  66.     $(CC) $(CFLAGS) token.c
  67. stlookup.o: $(HS) stlookup.c
  68.     $(CC) $(CFLAGS) stlookup.c
  69.