Ported to OpenCL to support larger simulations.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user