From ff0507d6db02b9fc43e621d51b73419018bb38c8 Mon Sep 17 00:00:00 2001
From: Bent Bisballe Nyeng <deva@aasimon.org>
Date: Mon, 24 Jul 2023 15:00:59 +0200
Subject: A1: c++20 variation and report.

---
 a1/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

(limited to 'a1/Makefile')

diff --git a/a1/Makefile b/a1/Makefile
index af4aa77..8bab294 100644
--- a/a1/Makefile
+++ b/a1/Makefile
@@ -1,3 +1,10 @@
-all:
+all: hello hello-cpp20
+
+hello: hello.cc
 	g++ -std=c++20 -fmodules-ts -x c++-system-header iostream
 	g++ -std=c++20 -fmodules-ts hello.cc -o hello
+
+hello-cpp20: hello-cpp20.cc
+	g++ -std=c++20 -fmodules-ts -x c++-system-header iostream
+	g++ -std=c++20 -fmodules-ts -x c++-system-header string
+	g++ -std=c++20 -fmodules-ts hello-cpp20.cc -o hello-cpp20
-- 
cgit v1.2.3