# This file is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. render: C++Export.cc main.cpp g++ -g -o $@ -I. -I../../../include -Wno-narrowing main.cpp \ -lglut -lGLU -lGL -lXmu -lX11 -ljpeg -lpng -lm -lc # set special picture path for Fedora OpenGL example binary render_with_picture_path: C++Export.cc main.cpp g++ -g -fPIE $(CXXFLAGS) -Wno-unused-variable -Wno-dangling-else \ -Wno-sign-compare -Wno-narrowing -Wno-unused-but-set-variable \ $(LDFLAGS) -o $@ -I. -I../../../include -I/usr/include main.cpp \ -DPICTURE_PATH=\"/usr/share/white_dune/opengl_example/\" \ -lglut -lGLU -lGL -lXmu -lX11 -ljpeg -lpng -lm -lc clean: rm -f C++Export.cc render render_with_picture_path core C++Export.cc: robot.x3dv (../../../bin/dune -c++ robot.x3dv > C++Export.cc) || \ dune -c++ robot.x3dv > C++Export.cc