Page MenuHomec4science

Makefile_old
No OneTemporary

File Metadata

Created
Sun, Dec 1, 11:44

Makefile_old

NVCC = nvcc -arch=sm_70
CFLAGS = -Wno-deprecated-gpu-targets -c -O3
LFLAGS = -Wno-deprecated-gpu-targets -lcudart -lcuda
all: assignment4.o implementation.o
$(NVCC) $(LFLAGS) assignment4.o implementation.o -o assignment4
trivial: implementation_trivial.o
$(NVCC) $(LFLAGS) assignment4.o implementation_trivial.o -o assignment4
assignment4.o: assignment4.cu utility.h implementation.o
$(NVCC) $(CFLAGS) $< -o $@
implementation.o: implementation.cu
$(NVCC) $(CFLAGS) $< -o $@
implementation_trivial.o: implementation_trivial.cu
$(NVCC) $(CFLAGS) $< -o $@
clean:
rm -f *.o assignment4

Event Timeline