Skip to content

Commit

Permalink
Restore Makefile weirdness
Browse files Browse the repository at this point in the history
  • Loading branch information
asn-d6 committed Jul 26, 2024
1 parent 27b0b6b commit 50d6d2d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ LIBS = $(BLST_LIBRARY)
# Core
###############################################################################

all: c_kzg_4844.o common.o c_kzg_7594.o
all: c_kzg_4844.o c_kzg_7594.o test

$(BLST_BUILDSCRIPT):
@git submodule update --init
Expand All @@ -62,7 +62,7 @@ test_c_kzg_4844: test_c_kzg_4844.c $(BLST_LIBRARY)
@$(CC) $(CFLAGS) -o $@ $< $(LIBS)

.PHONY: test
test: all test_c_kzg_4844
test: test_c_kzg_4844
@./test_c_kzg_4844

###############################################################################
Expand Down Expand Up @@ -113,7 +113,9 @@ profile: \
profile_verify_kzg_proof \
profile_verify_blob_kzg_proof \
profile_verify_blob_kzg_proof_batch \
profile_compute_cells_and_kzg_proofs
profile_compute_cells_and_kzg_proofs \
profile_recover_cells_and_kzg_proofs \
profile_verify_cell_kzg_proof_batch

###############################################################################
# Sanitize
Expand Down Expand Up @@ -157,7 +159,7 @@ analyze: c_kzg_4844.c

.PHONY: format
format:
@clang-format -i --sort-includes c_kzg_4844.* common.* test_c_kzg_4844.c
@clang-format -i --sort-includes c_kzg_4844.* c_kzg_7594.* common.* test_c_kzg_4844.c

.PHONY: clean
clean:
Expand Down

0 comments on commit 50d6d2d

Please sign in to comment.