2 # Makefile for libopcodes under openVMS/AXP
4 # For use with gnu-make for vms
6 # Created by Klaus Kaempf, kkaempf@progis.de
11 OBJS=alpha-dis.obj,dis-buf.obj,disassemble.obj
14 CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
15 DEFS=/define=(VMS_ASMCODE=1)
17 CFLAGS=/noopt/debug/include=([],[-.include],[-.bfd])$(DEFS)
18 DEFS=/define=(VMS_ASMCODE=1)
21 libopcodes.olb: sysdep.h $(OBJS)
23 lib/create libopcodes *.obj
25 disassemble.obj: disassemble.c
26 $(CC)$(CFLAGS)/define=("ARCH_alpha") $<
28 alpha-dis.obj: alpha-dis.c alpha-opc.h
30 sysdep.h: [-.bfd.hosts]alphavms.h