From 340772a8742165bad7d302ae50bf50ffb39fd410 Mon Sep 17 00:00:00 2001 From: Michael <20937441+KMikeeU@users.noreply.github.com> Date: Thu, 14 May 2026 17:33:31 +0200 Subject: [PATCH] fix: improve default handling - no longer loads .env.example but explicitly sets default variables --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ca4dc6a..b45e999 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,14 @@ ifneq (,$(wildcard ./.env)) include .env export else - $(warning .env file not found, loading defaults) - include .env.example - export + $(warning .env file not found, defaults will be used) endif +# Default configuration +FLAG_LEN ?= 32 +FLAG_FORMAT ?= ctf{FLAG_GOES_HERE} + +# Compilation variables RISCV_CC ?= riscv64-unknown-elf-gcc RISCV_ARCH_FLAGS ?= -march=rv32im -mabi=ilp32 HOST_CC ?= gcc