Files
rocm-systems/samples/1_Utils/hipInfo/Makefile
T
2016-01-26 20:14:33 -06:00

17 lines
207 B
Makefile

HIP_PATH?=$(shell hipconfig -p)
HIPCC=$(HIP_PATH)/bin/hipcc
EXE=hipInfo
all: install
$(EXE): hipInfo.cpp
$(HIPCC) hipInfo.cpp -o $@
install: $(EXE)
cp $(EXE) $(HIP_PATH)/bin
clean:
rm -f *.o $(EXE)