add files
This commit is contained in:
13
Makefile
Normal file
13
Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
BACKEND ?= gpu
|
||||
SOURCES := src/stage-1/revengmc.cpp src/stage-1/backends/${BACKEND}.cpp
|
||||
|
||||
CPP_FLAGS += -Wall -fdiagnostics-color=always -g --std=c++17
|
||||
CPP_LDFLAGS += -lOpenCL
|
||||
|
||||
.PHONY: gpu cpu dummy
|
||||
gpu: bin/revengmc-gpu
|
||||
cpu: bin/revengmc-cpu
|
||||
dummy: bin/revengmc-dummy
|
||||
|
||||
bin/revengmc-%: src/stage-1/revengmc.cpp src/stage-1/backends/%.cpp
|
||||
g++ ${CPP_FLAGS} $^ -o $@ ${CPP_LDFLAGS}
|
||||
Reference in New Issue
Block a user