advent-of-code-2020/day5/Makefile

16 lines
193 B
Makefile
Raw Normal View History

2020-12-05 06:06:27 +00:00
CC=g++
BIN_NAME=day5
CCFLAGS=-o $(BIN_NAME) -g
2020-12-05 06:40:37 +00:00
LDFLAGS=-std=c++17
2020-12-05 06:06:27 +00:00
.PHONY: all, clean
all: $(BIN_NAME)
clean:
rm -f $(BIN_NAME)
$(BIN_NAME): day5.cpp
$(CC) $(CCFLAGS) $(LDFLAGS) day5.cpp