From 5623e528b48b688c931d4c1bff577ce964cbe624 Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Fri, 31 Jul 2015 14:58:05 +0100 Subject: [PATCH] Add common.h to dependancy of common.o --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6d8e523..4fb5f7a 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ all: gpu-stream-ocl gpu-stream-cuda gpu-stream-ocl: ocl-stream.cpp common.o Makefile $(CXX) $(CXXFLAGS) -Wno-deprecated-declarations common.o $< -o $@ $(LDLIBS) -common.o: common.cpp Makefile +common.o: common.cpp common.h Makefile gpu-stream-cuda: cuda-stream.cu common.o Makefile ifeq ($(shell which nvcc > /dev/null; echo $$?), 0)