book: revision of ch07 & finish atomics

Update #2
This commit is contained in:
Changkun Ou
2019-07-19 10:59:01 +02:00
parent fdb34b80e5
commit 677f74b691
12 changed files with 327 additions and 81 deletions

16
exercises/7/7.1/Makefile Normal file
View File

@@ -0,0 +1,16 @@
#
# Makefile
#
# exercise solution 7.1 - chapter 7
# modern cpp tutorial
#
# created by changkun at changkun.de/modern-cpp
#
all: $(patsubst %.cpp, %.out, $(wildcard *.cpp))
%.out: %.cpp Makefile
clang++ $< -o $@ -std=c++2a -pedantic
clean:
rm *.out