From 02f1d69aeb34c72219b0a844d48b5081309241c0 Mon Sep 17 00:00:00 2001 From: Yifei Kong Date: Thu, 1 Feb 2024 14:02:50 +0800 Subject: [PATCH] Polish makefile --- Makefile | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/Makefile b/Makefile index e6ecd2ce..eda0a7f6 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ SHELL := bash VERSION := 0.6.0b9 CURL_VERSION := curl-8.1.1 -curl_artifacts: +$(CURL_VERSION): curl -L "https://curl.se/download/$(CURL_VERSION).tar.xz" \ -o "$(CURL_VERSION).tar.xz" tar -xf $(CURL_VERSION).tar.xz @@ -12,8 +12,7 @@ curl_artifacts: -o "curl-impersonate-$(VERSION).tar.gz" tar -xf curl-impersonate-$(VERSION).tar.gz -# TODO add the headers to sdist package -curl_cffi/include/curl/curl.h: curl_artifacts +curl_cffi/include/curl/curl.h: $(CURL_VERSION) cd $(CURL_VERSION) for p in $