From 05e20d9243e84acc8ef926b02a059ddacd3599e9 Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Sun, 6 Apr 2008 23:13:11 -0500 Subject: [PATCH] Run valgrind on idlc by default. --- Makefile.target | 3 ++- idl/Makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.target b/Makefile.target index d407129..19c773c 100644 --- a/Makefile.target +++ b/Makefile.target @@ -90,7 +90,8 @@ RANLIB := $(CROSS)ranlib RM := rm -f RMDIR := rm -rf LN := ln -s -IDLC := $(BASEBUILDDIR)/build/idlcomp/idlc +IDLC_target := $(BASEBUILDDIR)/build/idlcomp/idlc +IDLC := valgrind -q $(BASEBUILDDIR)/build/idlcomp/idlc TOUCH := touch BISON := bison FLEX := flex diff --git a/idl/Makefile b/idl/Makefile index 86aae6d..5529e4f 100644 --- a/idl/Makefile +++ b/idl/Makefile @@ -9,7 +9,7 @@ IDL := $(shell find . -name '*.idl') TARGETS := $(BUILDDIR)/ifaces -$(BUILDDIR)/ifaces: $(IDL) $(IDLC) +$(BUILDDIR)/ifaces: $(IDL) $(IDLC_target) @echo $(COMP): System IDL files @$(RMDIR) $(BUILDDIR)/ifaces @if ! $(IDLC) -o $(BUILDDIR)/ifaces -s System $(IDL); then \ -- 2.39.2