commit 6a62b2e43eba625de75b0fa1e8d825d119e3e8e9 parent 73e24f4d2f5e9e96b28a51034158b45203d7b9c6 Author: Michael Savage <mikejsavage@gmail.com> Date: Thu Aug 13 22:01:03 +0200 Add -pthread to compiler arguments Diffstat:
Makefile | | | 2 | +- |
diff --git a/Makefile b/Makefile @@ -6,7 +6,7 @@ HMOBJS = hm.o heightmap.o terrain_manager.o work_queue.o stb_image.o stb_perlin. PPOBJS = pp.o stb_image.o stb_image_write.o WARNINGS = -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-write-strings -CXXFLAGS += -std=c++11 -O2 $(WARNINGS) -ggdb3 -DGL_GLEXT_PROTOTYPES +CXXFLAGS += -std=c++11 -O2 $(WARNINGS) -ggdb3 -DGL_GLEXT_PROTOTYPES -pthread # OS detection ifneq ($(shell uname -s),Darwin)