65d5ade426
Fix name of glew library Move simulate to new directory and refactor to use C++ conventions Wrap simulate in mujoco namespace fix namespaces, convert struct to class, use std::lock_guard use GetMutex to better handle destruction ordering rename mjSimulate to Simulate nit: space before public and typo move startup print use nullptr instead of NULL use GetInstance() to get simulate object convert init to default constructor
14 lines
791 B
Makefile
14 lines
791 B
Makefile
# This Makefile assumes that you have GLFW libraries and headers installed on,
|
|
# which is commonly available through your distro's package manager.
|
|
# On Debian and Ubuntu, GLFW can be installed via `apt install libglfw3-dev`.
|
|
|
|
COMMON=-O2 -I../include -L../lib -std=c++17 -pthread -Wl,-no-as-needed -Wl,-rpath,'$$ORIGIN'/../lib
|
|
|
|
all:
|
|
$(CXX) $(COMMON) testxml.cc -lmujoco -o ../bin/testxml
|
|
$(CXX) $(COMMON) testspeed.cc -lmujoco -o ../bin/testspeed
|
|
$(CXX) $(COMMON) compile.cc -lmujoco -o ../bin/compile
|
|
$(CXX) $(COMMON) derivative.cc -lmujoco -fopenmp -o ../bin/derivative
|
|
$(CXX) $(COMMON) basic.cc -lmujoco -lglfw -o ../bin/basic
|
|
$(CXX) $(COMMON) record.cc -lmujoco -lglfw -o ../bin/record
|