forked from Imagelibrary/binutils-gdb
Thu Feb 13 21:34:43 1997 Klaus Kaempf (kkaempf@progis.de)
* config.h-vms: sbrk() is provided on openVMS/Alpha. * makefile.vms: allow compiling with current gcc snapshot.
This commit is contained in:
@@ -1,18 +1,16 @@
|
||||
#
|
||||
# Makefile for binutils under openVMS/AXP
|
||||
# Makefile for binutils under openVMS/Alpha
|
||||
#
|
||||
# For use with gnu-make for vms
|
||||
#
|
||||
# Created by Klaus K<EFBFBD>mpf, kkaempf@progis.de
|
||||
# Created by Klaus K"ampf, kkaempf@progis.de
|
||||
#
|
||||
#
|
||||
|
||||
CC=gcc
|
||||
|
||||
ifeq ($(CC),gcc)
|
||||
CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
|
||||
DEFS=/define=("unlink=remove")
|
||||
LIBS=,GNU_CC:[000000]LIBGCC2/lib,GNU_CC:[000000]LIBGCCLIB/lib,sys$$library:vaxcrtl.olb/lib,GNU_CC:[000000]crt0.obj
|
||||
CFLAGS=/cc1="-fno-exceptions -g0"/include=([],[-.include],[-.bfd])$(DEFS)
|
||||
DEFS=
|
||||
LIBS=,GNU:[000000]LIBGCC2/lib,GNU:[000000]LIBGCCLIB/lib,sys$$library:vaxcrtl.olb/lib,GNU:[000000]crt0.obj
|
||||
else
|
||||
CFLAGS=/noopt/debug/include=([],[-.include],[-.bfd])$(DEFS)/warnings=disable=(missingreturn,implicitfunc)
|
||||
DEFS=/define=("const=","unlink=remove",\
|
||||
@@ -61,7 +59,7 @@ objdump.exe: $(OBJDUMPOBJS)
|
||||
|
||||
|
||||
version.obj: version.c
|
||||
$(CC) $(CFLAGS)/define=(VERSION="""960814""") $<
|
||||
$(CC) $(CFLAGS)/define=(VERSION="""970202""") $<
|
||||
|
||||
config.h: config.h-vms
|
||||
$(CP) $< $@
|
||||
|
||||
Reference in New Issue
Block a user