Simplify the compilation commands for config/vxworks.c

2019-12-30  Olivier Hainque  <hainque@adacore.com>

	* config/t-vxworks: Rework the vxworks.o compilation
	rules to use $(COMPILE).

From-SVN: r279782
This commit is contained in:
Olivier Hainque 2019-12-30 21:39:15 +00:00 committed by Olivier Hainque
parent b3405ddc5d
commit c62f986a37
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2019-12-30 Olivier Hainque <hainque@adacore.com>
* config/t-vxworks: Rework the vxworks.o compilation
rules to use $(COMPILE).
2019-12-30 Joel Brobecker <brobecker@adacore.com>
* config.gcc <*-*-vxworks*>: Add vxworks-c.o to c_target_objs

View File

@ -16,9 +16,9 @@
# along with GCC; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
vxworks.o: $(srcdir)/config/vxworks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TARGET_H) output.h $(TM_H)
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
vxworks.o: $(srcdir)/config/vxworks.c
$(COMPILE) $<
$(POSTCOMPILE)
vxworks-c.o: $(srcdir)/config/vxworks-c.c
$(COMPILE) $<