a1b6026b8c
PiperOrigin-RevId: 573477509 Change-Id: I0e619e36dd3fe677a27bbbdac87a15f04670cc13
13 lines
648 B
Makefile
13 lines
648 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
|
|
|
|
.PHONY: all
|
|
all:
|
|
$(CXX) $(COMMON) testspeed.cc -lmujoco -o ../bin/testspeed
|
|
$(CXX) $(COMMON) compile.cc -lmujoco -o ../bin/compile
|
|
$(CXX) $(COMMON) basic.cc -lmujoco -lglfw -o ../bin/basic
|
|
$(CXX) $(COMMON) record.cc -lmujoco -lglfw -o ../bin/record
|