mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-17 12:44:40 +03:00
16
exercises/7/7.1/Makefile
Normal file
16
exercises/7/7.1/Makefile
Normal 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
|
||||
Reference in New Issue
Block a user