Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .PHONY: all clean
- gencode = arch=compute_50,code=sm_50
- libraries = -lm -lnlopt -lplplotd -lhdf5 -lhdf5_hl -laslog -lprogressbar -lncurses -lcuda
- debug = -g
- all: pft-rosenfeld
- pft-rosenfeld: pft.o plot.o pt_mem.o analytics.o dft.o logging.o free_energy.cu helpers.cu rt.cu
- nvcc -gencode=$(gencode) -rdc=true -o pft-rosenfeld pft.o plot.o pt_mem.o analytics.o dft.o logging.o free_energy.cu helpers.cu rt.cu $(libraries) $(debug)
- rm -f *.o
- %.o: %.c
- gcc-6 $(debug) -O3 -c -std=gnu99 $< -o $@
- clean:
- rm -f pft-rosenfeld *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement