From 0b9f5112b7caf1dfa8051252d6d4346d2f67a51c Mon Sep 17 00:00:00 2001 From: Andrew Sidwell Date: Thu, 31 Jul 2008 15:50:25 +0000 Subject: Fix copy-and-paste error in previous commit. svn path=/trunk/hubbub/; revision=4845 --- test/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile index bd1752d..8092460 100644 --- a/test/Makefile +++ b/test/Makefile @@ -38,6 +38,11 @@ CFLAGS := $(CFLAGS) -I$(TOP)/src/ -I$(d) \ -Wno-unused-parameter LDFLAGS := $(LDFLAGS) `$(PKGCONFIG) $(PKGCONFIGFLAGS) --libs json` +ifdef PROFILE + CFLAGS := $(CFLAGS) -pg -fno-omit-frame-pointer + LDFLAGS := $(LDFLAGS) -pg +endif + # Tests TESTS_$(d) := csdetect dict entities hubbub parser \ tokeniser tokeniser2 tokeniser3 tree tree2 -- cgit v1.2.3