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
Hippolyte Chauvin d5ad6ca7f8 Ajout : Makefile
2023-12-03 16:47:20 +01:00

22 lines
244 B
Makefile

CC := cc
CC_OPTIONS := -g
SRCD := src
BIND := out
SRCS := $(wildcard $(SRCD)/*)
BIN := $(BIND)/aoc
all: $(BIND) $(BIN)
run: all
$(BIN)
$(BIND):
mkdir $@
$(BIN): $(SRCS)
$(CC) $(CC_OPTIONS) -o $@ $^
clean:
rm -f $(wildcard $(BIND)/*)