commit 85b26533b7a69623265154bc0eabcd28d27ba62a
parent 45f5ec97a2657f3cda3a1989af8aec86f1d1b022
Author: Tobias Kortkamp <t@tobik.me>
Date: Thu, 3 Sep 2020 11:32:55 +0200
Unbreak build with multiple make jobs
Without it python_curlopt.h might not be available at the right
time when using something like make -j4:
src/python.c:50:10: fatal error: 'python_curlopt.h' file not found
^~~~~~~~~~~~~~~~~~
1 error generated.
Signed-off-by: Tobias Kortkamp <t@tobik.me>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -203,6 +203,8 @@ uninstall:
$(OBJDIR)/%.o: src/%.c
$(CC) $(CFLAGS) -c $< -o $@
+src/python.c: $(PYTHON_CURLOPT)
+
clean:
rm -f $(VERSION)
find . -type f -name \*.o -exec rm {} \;