Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INC=-I../rt_framework/include -I../rt_framework/src -I.. -I../shape
- default: clear color point vector glutwindow pixel ppmwriter matrix ray material light camera shape box sphere scene sdf_loader shapetest scenetest sdf_loader_test fwtest
- #./shapetest
- #./scenetest
- #./sdf_loader_test
- #./fwtest
- point: ../rt_framework/src/point.cpp
- g++ $(INC) -c ../rt_framework/src/point.cpp -std=c++0x
- vector: ../rt_framework/src/vector.cpp
- g++ $(INC) -c ../rt_framework/src/vector.cpp -std=c++0x
- ray: ../ray.cpp
- g++ $(INC) -c ../ray.cpp -std=c++0x
- color: ../rt_framework/src/color.cpp
- g++ $(INC) -c ../rt_framework/src/color.cpp -std=c++0x
- glutwindow: ../rt_framework/src/glutwindow.cpp
- g++ $(INC) -c ../rt_framework/src/glutwindow.cpp -std=c++0x
- pixel: ../rt_framework/src/pixel.cpp
- g++ $(INC) -c ../rt_framework/src/pixel.cpp -std=c++0x
- ppmwriter: ../rt_framework/src/ppmwriter.cpp
- g++ $(INC) -c ../rt_framework/src/ppmwriter.cpp -std=c++0x
- matrix: ../rt_framework/src/matrix.cpp ../rt_framework/include/matrix.hpp
- g++ $(INC) -c ../rt_framework/src/matrix.cpp -std=c++0x
- material: ../material.cpp
- g++ $(INC) -c ../material.cpp -std=c++0x
- light: ../light.cpp
- g++ $(INC) -c ../light.cpp -std=c++0x
- camera: ../camera.cpp
- g++ $(INC) -c ../camera.cpp -std=c++0x
- shape: ../shape/shape.cpp
- g++ $(INC) -c ../shape/shape.cpp -std=c++0x
- sphere: ../shape/sphere.cpp
- g++ $(INC) -c ../shape/sphere.cpp -std=c++0x
- box: ../shape/box.cpp
- g++ $(INC) -c ../shape/box.cpp -std=c++0x
- scene: ../scene.cpp
- g++ $(INC) -c ../scene.cpp -std=c++0x
- sdf_loader: ../sdf_loader.cpp
- g++ $(INC) -c ../sdf_loader.cpp -std=c++0x
- shapetest: shapetest.cpp
- g++ $(INC) -c shapetest.cpp -std=c++0x
- g++ shapetest.o point.o shape.o vector.o material.o sphere.o box.o color.o -o shapetest
- scenetest: scenetest.cpp
- g++ $(INC) -c scenetest.cpp -std=c++0x
- g++ scenetest.o point.o shape.o vector.o material.o light.o camera.o sphere.o box.o scene.o color.o -o scenetest
- sdf_loader_test: sdf_loader_test.cpp
- g++ $(INC) -c sdf_loader_test.cpp -std=c++0x
- g++ sdf_loader_test.o point.o shape.o vector.o material.o light.o camera.o sphere.o box.o scene.o color.o sdf_loader.o -o sdf_loader_test
- fwtest: fwtest.cpp
- g++ $(INC) -c fwtest.cpp -std=c++0x
- g++ glutwindow.o pixel.o ppmwriter.o color.o point.o vector.o matrix.o fwtest.o -o fwtest -lglut -lGL
- clear:
- clear
- rm -f shapetest
- rm -f scenetest
- rm -f sdf_loader_test
- rm -f fwtest
Advertisement
Add Comment
Please, Sign In to add comment