mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Remove build systems other than CMake
Make it clear that CMake is the only supported build system. Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
project
|
||||
: requirements
|
||||
# <toolset>gcc:<cflags>-xc++
|
||||
<toolset>msvc:<cflags>"/TP"
|
||||
;
|
||||
|
||||
exe computeinfo : main.c ;
|
||||
|
||||
install dist
|
||||
: computeinfo
|
||||
: <variant>debug:<location>$(DIST)/debug/tests/test_conformance/computeinfo
|
||||
<variant>release:<location>$(DIST)/release/tests/test_conformance/computeinfo
|
||||
;
|
||||
@@ -1,32 +0,0 @@
|
||||
ifdef BUILD_WITH_ATF
|
||||
ATF = -framework ATF
|
||||
USE_ATF = -DUSE_ATF
|
||||
endif
|
||||
|
||||
LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries
|
||||
LIBPATH += -L.
|
||||
FRAMEWORK = main.c ../../test_common/harness/errorHelpers.c ../../test_common/harness/kernelHelpers.c
|
||||
HEADERS =
|
||||
TARGET = computeinfo
|
||||
INCLUDE = -I./../../OpenCL/cl_headers/public
|
||||
COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32
|
||||
CC = c++
|
||||
CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF}
|
||||
LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${RC_CFLAGS} ${ATF}
|
||||
|
||||
OBJECTS = main.o errorHelpers.o kernelHelpers.o
|
||||
|
||||
TARGETOBJECT =
|
||||
all: $(TARGET)
|
||||
|
||||
$(OBJECTS): $(FRAMEWORK) $(HEADERS)
|
||||
$(CC) $(CFLAGS) $(INCLUDE) $(FRAMEWORK)
|
||||
|
||||
$(TARGET): $(OBJECTS)
|
||||
$(CC) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES)
|
||||
|
||||
clean:
|
||||
rm -f $(TARGET) $(OBJECTS)
|
||||
|
||||
.DEFAULT:
|
||||
@echo The target \"$@\" does not exist in Makefile.
|
||||
Reference in New Issue
Block a user