Edit

thodg/smallpt/Makefile

Branch :

  • Makefile
  • PROG = smallpt
    
    CXX_SOURCES = smallpt.cpp
    
    CXXFLAGS = -O3 -pipe # -fopenmp
    
    ${PROG}: ${CXX_SOURCES}
    	${CXX} ${CPPFLAGS} ${CXXFLAGS} ${LDFLAGS} ${CXX_SOURCES} -o ${PROG}
    
    clean:
    	rm -rf ${PROG}
    
    .PHONY: clean