File: Makefile.windows

package info (click to toggle)
mujoco 2.2.2-3.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,796 kB
  • sloc: ansic: 28,947; cpp: 28,897; cs: 14,241; python: 10,465; xml: 5,104; sh: 93; makefile: 34
file content (18 lines) | stat: -rw-r--r-- 1,007 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# A copy of the GLFW library is required to build some sample programs.
# If this is not already installed on your system, download the WIN64 archive
# from https://github.com/glfw/glfw/releases, and copy files as follows:
# - Copy the entire `include/GLFW` subdirectory to `mujoco/include/GLFW`.
# - Copy glfw3dll.lib from the subdirectory corresponding into your compiler
#   choice to `mujoco/lib/glfw3dll.lib`.
# - Copy glfw3.dll from the same subdirectory into `mujoco/bin/glfw3.dll`.

COMMON=/O2 /MT /EHsc /arch:AVX /I../include /Fe../bin/

all:
	cl $(COMMON) testxml.cc                                ../lib/mujoco.lib
	cl $(COMMON) testspeed.cc                              ../lib/mujoco.lib
	cl $(COMMON) compile.cc                                ../lib/mujoco.lib
	cl $(COMMON) derivative.cc /openmp                     ../lib/mujoco.lib
	cl $(COMMON) basic.cc              ../lib/glfw3dll.lib ../lib/mujoco.lib
	cl $(COMMON) record.cc             ../lib/glfw3dll.lib ../lib/mujoco.lib
	del *.obj