]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/d10v/Makefile.in
sim: introduce {COMPILE,LINK}_FOR_BUILD
[thirdparty/binutils-gdb.git] / sim / d10v / Makefile.in
index c3cafcbade57a86dd30eb08d3ba9afc932cbae2e..c2907fc58793c03222c4829e4baa03605df0d459 100644 (file)
@@ -1,5 +1,5 @@
 #    Makefile template for Configure for the D10v sim library.
-#    Copyright (C) 1996-2017 Free Software Foundation, Inc.
+#    Copyright (C) 1996-2021 Free Software Foundation, Inc.
 #    Written by Cygnus Support.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -43,13 +43,13 @@ table.c: gencode simops.h
        ./gencode >$@
 
 gencode.o: gencode.c $(INCLUDE)
-       $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(WARN_CFLAGS) -c $(srcdir)/gencode.c
+       $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/gencode.c
 
 d10v-opc.o: $(srcdir)/../../opcodes/d10v-opc.c
-       $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(WARN_CFLAGS) -c $(srcdir)/../../opcodes/d10v-opc.c
+       $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/../../opcodes/d10v-opc.c
 
 gencode: gencode.o d10v-opc.o
-       $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) -o gencode gencode.o d10v-opc.o $(BUILD_LIB)
+       $(LINK_FOR_BUILD) gencode.o d10v-opc.o
 
 clean-extra:
        rm -f table.c simops.h gencode