Commit 9ad81f17 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Merge branch 'master' into develop

parents cff3f6e5 b84b4dab
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
# Uncomment the following line to enable CUDA
#WITH_CUDA = yes

TARGET = {problemBaseName}
INSTALL_DIR = ${{HOME}}/local

@@ -16,11 +13,12 @@ endif

SOURCES = {problemBaseName}.cpp
HEADERS = {problemBaseName}.h
OBJECTS = {problemBaseName}.o
DIST = $(SOURCES) $(CUDA_SOURCES) $(HEADERS) Makefile

ifdef WITH_CUDA
   OBJECTS = {problemBaseName}-cuda.o
else
   OBJECTS = {problemBaseName}.o
endif
     
all: $(TARGET)