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