diff --git a/examples/bring_your_own_fips202/Makefile b/examples/bring_your_own_fips202/Makefile index 86225aa81..1db147ef8 100644 --- a/examples/bring_your_own_fips202/Makefile +++ b/examples/bring_your_own_fips202/Makefile @@ -1,6 +1,7 @@ # (SPDX-License-Identifier: CC-BY-4.0) .PHONY: build run clean +.DEFAULT_GOAL := all # Append cross-prefix for cross compilation # Remove or ignore for native builds @@ -78,7 +79,7 @@ $(BINARY_NAME_FULL): $(ALL_SOURCE) mkdir -p $(BUILD_DIR) $(CC) $(CFLAGS) $(INC) $^ -o $@ -all: run +all: build build: $(BINARY_NAME_FULL) diff --git a/examples/custom_backend/Makefile b/examples/custom_backend/Makefile index 0f3bc8b3e..dfb7bc52b 100644 --- a/examples/custom_backend/Makefile +++ b/examples/custom_backend/Makefile @@ -1,6 +1,7 @@ # (SPDX-License-Identifier: CC-BY-4.0) .PHONY: build run clean +.DEFAULT_GOAL := all # Append cross-prefix for cross compilation # Remove or ignore for native builds @@ -77,7 +78,7 @@ $(BINARY_NAME_FULL): $(ALL_SOURCE) mkdir -p $(BUILD_DIR) $(CC) $(CFLAGS) $(INC) $^ -o $@ -all: run +all: build build: $(BINARY_NAME_FULL) diff --git a/examples/mlkem_native_as_code_package/Makefile b/examples/mlkem_native_as_code_package/Makefile index 03848ae29..ec2d8a825 100644 --- a/examples/mlkem_native_as_code_package/Makefile +++ b/examples/mlkem_native_as_code_package/Makefile @@ -1,6 +1,7 @@ # (SPDX-License-Identifier: CC-BY-4.0) .PHONY: build run clean +.DEFAULT_GOAL := all # Append cross-prefix for cross compilation # Remove or ignore for native builds @@ -75,7 +76,7 @@ $(BINARY_NAME_FULL): $(ALL_SOURCE) mkdir -p $(BUILD_DIR) $(CC) $(CFLAGS) $(INC) $^ -o $@ -all: run +all: build build: $(BINARY_NAME_FULL) diff --git a/examples/monolithic_build/Makefile b/examples/monolithic_build/Makefile index 5f8956bdd..590eb189a 100644 --- a/examples/monolithic_build/Makefile +++ b/examples/monolithic_build/Makefile @@ -1,6 +1,7 @@ # (SPDX-License-Identifier: CC-BY-4.0) .PHONY: build run clean +.DEFAULT_GOAL := all # Append cross-prefix for cross compilation # Remove or ignore for native builds @@ -73,7 +74,7 @@ $(BINARY_NAME_FULL): $(ALL_SOURCE) mkdir -p $(BUILD_DIR) $(CC) $(CFLAGS) $(INC) $^ -o $@ -all: run +all: build build: $(BINARY_NAME_FULL)