advent_of_code/2022/07/Makefile

17 lines
231 B
Makefile
Raw Permalink Normal View History

2022-12-07 05:47:57 +00:00
CXX ?= c++
CXXFLAGS ?= -std=c++17 -Wall -Wextra -pedantic -O2
PROJECT = unix
all: ${PROJECT}
${PROJECT}: main.cpp
${CXX} ${CXXFLAGS} -o $@ $^
test: ${PROJECT}
./${PROJECT}
clean:
${RM} *.o ${PROJECT}
.PHONY: all clean test