commit | author | age | ||
bb2353 | 1 | CC=clang |
JG | 2 | CXX=clang |
3 | CXXFLAGS=-g -Wall -std=c++20 | |
4 | ||
5 | .PHONY: default all | |
6 | default: all | |
7 | ||
8 | all: exec | |
9 | ||
10 | exec: main.o book.o | |
11 | ${CXX} -o $@ $^ | |
12 | ||
13 | %: %.cpp %.hpp | |
14 | ${CXX} ${CXXFLAGS} -o $@ $^ | |
15 | ||
16 |