home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 522.lha / CpuBlit_v1.0 / src / makefile < prev    next >
Makefile  |  1991-06-09  |  821b  |  43 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    = -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.  
  14. .c.o:
  15.     lc $(CFLAGS) -Hsystem.sym $*.c
  16. .s.o:
  17.     $(ASM) -iinclude: $*.s    # Standard "pure" assembly
  18. .a.o:
  19.     $(ASM) -u -iinclude: $*.a # Prefixes all labels with style underscore
  20. .n.doc:
  21.     nro >$*.doc -ms:an $*.n
  22. .h.sym:
  23.     lc1 -ph -o$*.sym $*.h
  24.  
  25. #
  26. # Makefile dependencies
  27. #
  28.  
  29. NAME    = cpublit
  30.  
  31. all: $(NAME)
  32.  
  33. OBJS    = small.o $(NAME).o scroll.o res.o
  34.  
  35. $(NAME): $(OBJS) makefile
  36.     blink from $(OBJS) to $(NAME) $(BFLAGS) lib $(LIBS)
  37.  
  38. system.sym:    system.h
  39. cpublit.o:    cpublit.c    scroll.h    system.sym
  40. small.o:    small.a
  41. scroll.o:    scroll.s
  42. res.o:        res.s
  43.