From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost.localdomain (unknown [138.197.159.143]) by gnuweeb.org (Postfix) with ESMTPSA id 44E5C7E2A8; Thu, 10 Mar 2022 11:13:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1646910790; bh=fY4q6lGnj3OamfZVejrbTHNDiPr3EM8Yt0ZMFUXi+Ss=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UNcgGpGyiSMdOygzQsdY0Foji2SIc7trS3j6HX/vWkJ1JWsD2ppIltR0xl0DrirtB tF5SmfsmWBv5Y56x+rK83flvXMhTNURkKpcTYMXfuDETK6WL3vZF82zU10A6qpzoam 4PQv8PyVYfJOGaW5CdnH34MYNwVDcglCC9w2zwxDwC7vZldd84d4jPScl6fmo0myFO ClZ0iFtLyt44Mp3d2fgesWRsfohM9FzoDG59c2hj8ivpDfqadWQcjWFpZAlvLgrBGJ 9WGaVZLs1oTyJAbu8nH7VaU89j4DNwRepna+ZMx/8MG+EnwMhuA+wZ1jwhhXseplbm 96QGDJ+1j8QDQ== From: Alviro Iskandar Setiawan To: Jens Axboe Cc: Alviro Iskandar Setiawan , Pavel Begunkov , Ammar Faizi , Alviro Iskandar Setiawan , io-uring , gwml Subject: [PATCH liburing v3 4/4] examples/Makefile: Add liburing.a as a dependency Date: Thu, 10 Mar 2022 11:12:31 +0000 Message-Id: <20220310111231.1713588-5-alviro.iskandar@gnuweeb.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220310111231.1713588-1-alviro.iskandar@gnuweeb.org> References: <20220310111231.1713588-1-alviro.iskandar@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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