mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-17 04:34:40 +03:00
revision #1: 更新第二章中已维护的代码
This commit is contained in:
7
code/2/Makefile
Normal file
7
code/2/Makefile
Normal file
@@ -0,0 +1,7 @@
|
||||
all: $(patsubst %.cpp, %.out, $(wildcard *.cpp))
|
||||
|
||||
%.out: %.cpp Makefile
|
||||
clang++ $< -o $@ -std=c++17
|
||||
|
||||
clean:
|
||||
rm *.out
|
||||
Reference in New Issue
Block a user