put built file in right directory

This commit is contained in:
2026-01-14 20:46:01 +05:30
parent 934661ad3b
commit 48270d41b8
3 changed files with 6 additions and 5 deletions

View File

@@ -16,10 +16,10 @@ define DOCS
)
endef
build: build/ $(NAME)
build: build/ build/$(NAME)
$(NAME): src/main.c $(HEADERS)
cc -o $(NAME) $^
build/$(NAME): src/main.c $(HEADERS)
cc -o $@ $<
test: