Ported to OpenCL to support larger simulations.

This commit is contained in:
2021-10-20 00:39:13 -04:00
parent 94725bf255
commit 5595821b4f
8 changed files with 355 additions and 317 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
CXX=g++
HEADERDIR=./header
INCLUDE := $(shell find $(HEADERDIR) -type d | sed -e 's/^/-I/' | tr '\n' ' ' | sed 's/.$$//')
CXXFLAGS=-g $(INCLUDE)
CXXFLAGS=-g -std=c++17 $(INCLUDE)
SRCDIR=./src
SRC := $(shell find $(SRCDIR) -name '*.cpp' | tr '\n' ' ' | sed 's/.$$//')
OBJDIR=./build/debug/obj
OBJ := $(SRC:$(SRCDIR)/%.cpp=$(OBJDIR)/%.o)
LIBS=-lSDL2
LIBS=-lSDL2 -lOpenCL
EXECUTABLE=slime_mold
all: debug