home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 529a.lha / A68k_v2.71 / Makefile.zc < prev    next >
Makefile  |  1991-07-02  |  1KB  |  40 lines

  1. # Simple makefile to compile and link the A68k Assembler.
  2. # Created 23Jun87 by J.A. Lydiatt.
  3. # Output file name corrected June 18, 1989 by Charlie Gibbs.
  4. # protos.h added April 16, 1991 by Charlie Gibbs.
  5.  
  6. OBJ=    A68kmain.o Opcodes.o Operands.o Adirect.o A68kmisc.o\
  7.     Symtab.o Codegen.o wb_parse.o
  8.  
  9. SHARLIB1= A68k.doc Makefile A68kdef.h A68kglb.h A68kmain.c Opcodes.c Operands.c\
  10.     Adirect.c A68kmisc.c Symtab.c Codegen.c wb_parse.c
  11.  
  12. SRC=    A68kmain.c Opcodes.c Operands.c Adirect.c A68kmisc.c\
  13.     Symtab.c Codegen.c wb_parse.c
  14.  
  15. SHARLIB2= A68k.uue
  16.  
  17. .c.o:
  18.     cc -D__NOPROTO -O -c $*.c
  19.  
  20. A68k:    $(OBJ) 
  21.     cc -o A68k $(OBJ)
  22.  
  23. $(OBJ):    A68kdef.h A68kglb.h protos.h
  24.  
  25. #
  26. # Note: Manx's makefile seems to have a bug that forbids indirection
  27. #    such as "shar >lib a.c  b.c c.c"
  28. #    however "make >lib" seems to work fine if you edit out the
  29. #    commands make echos as it proceeds through the makefile.
  30. #
  31. #    Try make >ram:shardcp Archive 
  32. #
  33.  
  34. Archive:
  35.     shar $(SHARLIB1)
  36.     shar $(SHARLIB2)
  37.  
  38. Lint:
  39.     lint -iAztec:include Aztec:Stdlib.c Aztec:Defaults.c $(SRC)
  40.