From patchwork Tue Aug 24 13:47:12 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Wang X-Patchwork-Id: 126551 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o7ODlHnC030142 for ; Tue, 24 Aug 2010 13:47:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752058Ab0HXNrP (ORCPT ); Tue, 24 Aug 2010 09:47:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27207 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751460Ab0HXNrO (ORCPT ); Tue, 24 Aug 2010 09:47:14 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o7ODlEMj012043 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 24 Aug 2010 09:47:14 -0400 Received: from [127.0.1.1] (dhcp-65-37.nay.redhat.com [10.66.65.37]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o7ODlCKL007255; Tue, 24 Aug 2010 09:47:13 -0400 Subject: [PATCH kvm-unit-tests 03/10] Makefile cleanup To: jasowang@redhat.com, mtosatti@redhat.com, avi@redhat.com, kvm@vger.kernel.org From: Jason Wang Date: Tue, 24 Aug 2010 21:47:12 +0800 Message-ID: <20100824134712.17082.2848.stgit@FreeLancer> In-Reply-To: <20100824134523.17082.8727.stgit@FreeLancer> References: <20100824134523.17082.8727.stgit@FreeLancer> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 24 Aug 2010 13:47:18 +0000 (UTC) diff --git a/Makefile b/Makefile index 5347ce8..d25e6f2 100644 --- a/Makefile +++ b/Makefile @@ -30,10 +30,6 @@ CFLAGS += -O1 CFLAGS += $(autodepend-flags) -g -fomit-frame-pointer -Wall CFLAGS += $(call cc-option, -fno-stack-protector, "") CFLAGS += $(call cc-option, -fno-stack-protector-all, "") -CFLAGS += -I../include -CFLAGS += -I ../libkvm - -LDFLAGS += $(CFLAGS) -L ../libkvm CXXFLAGS = $(autodepend-flags) @@ -43,9 +39,6 @@ LDFLAGS += -pthread -lrt kvmtrace_objs= kvmtrace.o -kvmctl: $(kvmctl_objs) - $(CC) $(LDFLAGS) $^ -o $@ - kvmtrace: $(kvmtrace_objs) $(CC) $(LDFLAGS) $^ -o $@ @@ -62,4 +55,4 @@ install: install $(tests_and_config) $(DESTDIR) clean: arch_clean - $(RM) kvmctl kvmtrace *.o *.a .*.d $(libcflat) $(cflatobjs) + $(RM) kvmtrace *.o *.a .*.d $(libcflat) $(cflatobjs)