This repository has been archived on 2024-05-03. You can view files and clone it, but cannot push or open issues or pull requests.
aoc2023-day1/Makefile

19 lines
218 B
Makefile

BIND := out
BIN := $(BIND)/aoc
all: $(BIND) $(BIN)
run: all
$(BIN)
debug: all
gdb $(BIN)
$(BIND):
mkdir $@
$(BIN): $(wildcard src/*.c)
cc -g -Wall -Wextra -Werror -o $@ $^
clean:
rm -f $(wildcard $(BIND)/*)