Files
advent-of-code/Makefile

15 lines
164 B
Makefile

GO = go
BIN = bin/aoc
.PHONY: build test clean
build:
@mkdir -p $(dir $(BIN))
@$(GO) build -o $(BIN) ./cmd/aoc
test:
@$(GO) test ./...
clean:
@rm -f $(BIN)