From d4ff58db533d2a7e0216ab96f6c12f88a2116b29 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Tue, 24 Aug 2021 20:33:16 +0900 Subject: [PATCH] Fix buildWin/Makefile --- example02_threaded_raytracing/buildWin/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example02_threaded_raytracing/buildWin/Makefile b/example02_threaded_raytracing/buildWin/Makefile index 75ad497..0809acc 100644 --- a/example02_threaded_raytracing/buildWin/Makefile +++ b/example02_threaded_raytracing/buildWin/Makefile @@ -4,7 +4,7 @@ CXXFLAGS=-O3 -DNDEBUG all: Example02.exe Example02.exe: ../src/main.o ../src/rayTracer.o ../src/argParse.o - $(CXX) -o Example02.exe -lpthread $^ + $(CXX) -o Example02.exe -lpthread -Wl,-subsystem,windows $^ .PHONY: