commit 260aa90a4d2e637ad8f9155a2b484e6fb6438291 parent 3a782f6e23b2696322a848a7177414e1277516f6 Author: Oshgnacknak <osh@oshgnacknak.de> Date: Mon, 3 Jan 2022 14:04:48 +0100 Add Makefile Diffstat:
A | Makefile | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -0,0 +1,8 @@ +CXXFLAGS := -std=c++20 -fno-exceptions -I. + +EXAMPLES := $(subst .cpp,,$(wildcard examples/*.cpp)) + +all: $(EXAMPLES) + +examples/%: examples/%.cpp + $(CXX) $(CXXFLAGS) -o $@ $^