From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3972C3527B for ; Thu, 10 Mar 2022 10:32:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241294AbiCJKdp (ORCPT ); Thu, 10 Mar 2022 05:33:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241433AbiCJKde (ORCPT ); Thu, 10 Mar 2022 05:33:34 -0500 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AE441145 for ; Thu, 10 Mar 2022 02:32:32 -0800 (PST) Received: from localhost.localdomain (unknown [138.197.159.143]) by gnuweeb.org (Postfix) with ESMTPSA id 133717E2E4; Thu, 10 Mar 2022 10:32:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1646908351; bh=fY4q6lGnj3OamfZVejrbTHNDiPr3EM8Yt0ZMFUXi+Ss=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GCxFdJrP5cc8EuTQcq4RKoJV5WFwO0Rh9VC8ytbS/J1Y1s+yI5dxEXmgh3KLTWbi2 xHVY8RLc9n1sfZNKTnE43zTeYVw5XPlVHmdgEEGUqekmW06rH+0HDwL2IDX+KmRqqK 9QpIKqU5e4FTWIw/wpTtwnd5WsDOdRDRP83SO37pDVoxsM3JQs5/ljUnvbaT9d8fMd Cc0IAWa4BhnD4M/eyIB8E8Ll5B3Ez1wObHZ1M0ZoEmvxpLwutVEX4AA6D5NuGDjjxH 7tSFBztDeAFxDXQDq8dBi5YHbToHkXghejB3eYvnPbPl1BKj3ZYznKUlFXDqreWy2J RGWR3P1QkhhXg== From: Alviro Iskandar Setiawan To: Jens Axboe Cc: Alviro Iskandar Setiawan , Pavel Begunkov , Ammar Faizi , Alviro Iskandar Setiawan , io-uring , gwml Subject: [PATCH liburing v2 4/4] examples/Makefile: Add liburing.a as a dependency Date: Thu, 10 Mar 2022 10:32:24 +0000 Message-Id: <20220310103224.1675123-5-alviro.iskandar@gnuweeb.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220310103224.1675123-1-alviro.iskandar@gnuweeb.org> References: <20220310103224.1675123-1-alviro.iskandar@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org The example binaries statically link liburing using liburing.a file. When liburing.a is recompiled, make sure the example binaries are also recompiled to ensure changes are applied to the binaries. It makes "make clean" command optional when making changes. Signed-off-by: Alviro Iskandar Setiawan --- examples/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Makefile b/examples/Makefile index f966f94..95a45f9 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -29,7 +29,7 @@ all_targets += $(example_targets) all: $(example_targets) -%: %.c +%: %.c ../src/liburing.a $(QUIET_CC)$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(LDFLAGS) clean: -- 2.25.1