# Makefile for mandelbrot area code # # C compiler and options for GNU # CC= /usr/local/cuda/bin/nvcc LIB= -lm # # Object files # TARGET= area SRC= area.cu OBJ= area.cu.o # # Compile # .SUFFIXES: .cu $(TARGET): $(OBJ) $(CC) -o $@ $(OBJ) $(LIB) $(OBJ): $(SRC) $(CC) -o $(OBJ) -c $< # # Clean out object files and the executable. # clean: rm *.o area