home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d186 / a68k.lha / A68k / Makefile < prev    next >
Makefile  |  1989-02-26  |  930b  |  39 lines

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