home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 487.lha / CpuBlit_v0.96 / src / makefile < prev    next >
Encoding:
Makefile  |  1991-03-11  |  848 b   |  45 lines

  1. #
  2. # Lattice LKM makefile, for SAS/C C V5.10a                          :ts=8
  3. #
  4. # CpuBlit (C) Copyright Eddy Carroll, Feb 1991
  5. #
  6.  
  7. #DBSYM    = -d5
  8. CFLAGS    = -b0 -cusq -j88i -ms -v $(DBSYM)
  9. BFLAGS    = sc sd nd map ram:map
  10. #BFLAGS    = sc sd map ram:map addsym
  11. LIBS    = lib:lc.lib lib:amiga.lib
  12. ASM    = lc:asm
  13. START   = lib:c.o
  14. #START    = tiny.o
  15.  
  16. .c.o:
  17.     lc $(CFLAGS) -Hsystem.sym $*.c
  18. .s.o:
  19.     $(ASM) -iinclude: $*.s    # Standard "pure" assembly
  20. .a.o:
  21.     $(ASM) -u -iinclude: $*.a # Prefixes all labels with style underscore
  22. .n.doc:
  23.     nro >$*.doc -ms:an $*.n
  24. .h.sym:
  25.     lc1 -ph -o$*.sym $*.h
  26.  
  27. #
  28. # Makefile dependencies
  29. #
  30.  
  31. NAME    = cpublit
  32.  
  33. all: $(NAME)
  34.  
  35. OBJS    = tiny.o $(NAME).o scroll.o res.o
  36.  
  37. $(NAME): $(OBJS)
  38.     blink from $(OBJS) to $(NAME) $(BFLAGS) lib $(LIBS)
  39.  
  40. system.sym:    system.h
  41. cpublit.o:    cpublit.c    scroll.h    system.sym
  42. tiny.o:        tiny.a
  43. scroll.o:    scroll.s
  44. res.o:        res.s
  45.