Fri May 1 11:36:00 PST 1998 Syd Polk <spolk@cygnus.com>
[deliverable/binutils-gdb.git] / opcodes / makefile.vms
CommitLineData
03496c49
ILT
1#
2# Makefile for libopcodes under openVMS/AXP
3#
4# For use with gnu-make for vms
5#
6# Created by Klaus Kaempf, kkaempf@progis.de
7#
8#
9CC=gcc
10
11OBJS=alpha-dis.obj,dis-buf.obj,disassemble.obj
12
13ifeq ($(CC),gcc)
14CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
15DEFS=/define=(VMS_ASMCODE=1)
16else
17CFLAGS=/noopt/debug/include=([],[-.include],[-.bfd])$(DEFS)
18DEFS=/define=(VMS_ASMCODE=1)
19endif
20
21libopcodes.olb: sysdep.h $(OBJS)
22 purge
23 lib/create libopcodes *.obj
24
25disassemble.obj: disassemble.c
26 $(CC)$(CFLAGS)/define=("ARCH_alpha") $<
27
28alpha-dis.obj: alpha-dis.c alpha-opc.h
29
30sysdep.h: [-.bfd.hosts]alphavms.h
31 $(CP) $< $@
This page took 0.080141 seconds and 4 git commands to generate.