BUILD_DIR = ./build SRC_DIRS := ./src/ SRCS := $(shell find $(SRC_DIRS) -name '*.c') all: @gcc -g $(SRCS) -o ./m -Iinclude/ @echo [CC] Compiled "m".