Skip to content

Commit

Permalink
Fix missing target dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
gtrepta committed Nov 10, 2024
1 parent f860062 commit 6546e86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ $(PREFIX)/libff/lib/libff.a:
# c-kzg-4844
# ----------

C_KZG_4844 := deps/c-kzg-4844
C_KZG_4844 := $(CURDIR)/deps/c-kzg-4844
C_KZG_4844_CFLAGS := -fPIC -O2 -I$(C_KZG_4844)/src -I$(C_KZG_4844)/inc

$(C_KZG_4844)/lib/libblst.a:
CC=clang $(MAKE) -C $(C_KZG_4844)/src build_blst

$(C_KZG_4844)/lib/libckzg.o: $(C_KZG_4844)/src/ckzg.c
$(C_KZG_4844)/lib/libckzg.o: $(C_KZG_4844)/src/ckzg.c $(C_KZG_4844)/lib/libblst.a
clang $(C_KZG_4844_CFLAGS) $< -c -o $@

$(PREFIX)/c-kzg-4844/lib/libckzg.a: $(C_KZG_4844)/lib/libckzg.o $(C_KZG_4844)/lib/libblst.a
Expand Down

0 comments on commit 6546e86

Please sign in to comment.