Browse Source

cd build before make

Former-commit-id: 4e9b6386c717dd1de5d4b740f5c7c12378a97f8f
Alec Jacobson 11 years ago
parent
commit
9681390e4e
1 changed files with 12 additions and 9 deletions
  1. 12 9
      README.md

+ 12 - 9
README.md

@@ -35,7 +35,7 @@ listed below.
 - TetGen  libigltetgen extra only
 - TetGen  libigltetgen extra only
 - Embree  libiglembree extra only
 - Embree  libiglembree extra only
 - tinyxml2  libiglxml extra only
 - tinyxml2  libiglxml extra only
- 
+
 ## Header only ##
 ## Header only ##
 libigl is designed to work "out-of-the-box" as a headers only library. To
 libigl is designed to work "out-of-the-box" as a headers only library. To
 include libigl in your project. You need only include the libigl/include/
 include libigl in your project. You need only include the libigl/include/
@@ -72,31 +72,34 @@ Then run this example with:
 libigl is developed most often on Mac OS X, though has current users in Linux and Windows.
 libigl is developed most often on Mac OS X, though has current users in Linux and Windows.
 
 
 ### Linux/Mac OS X/Cygwin ###
 ### Linux/Mac OS X/Cygwin ###
-  
+
 libigl may also be compiled to a static library. This is advantageous when
 libigl may also be compiled to a static library. This is advantageous when
 building a project with libigl, since the header only directive can slow down
 building a project with libigl, since the header only directive can slow down
 compile times.
 compile times.
 
 
 To build the entire libigl library producing lib/libigl.a, issue:
 To build the entire libigl library producing lib/libigl.a, issue:
-  
+
+    cd build
     make lib
     make lib
-  
+
 You may need to edit Makefile.conf accordingly. Best to give yourself an
 You may need to edit Makefile.conf accordingly. Best to give yourself an
 `IGL_USERNAME` and add a custom install suite for yourself. Then you can enable
 `IGL_USERNAME` and add a custom install suite for yourself. Then you can enable
 appropriate extras.
 appropriate extras.
-  
+
 #### Extras ####
 #### Extras ####
 Once you've set up an `IGL_USERNAME` and enabled extras within Makefile.conf.
 Once you've set up an `IGL_USERNAME` and enabled extras within Makefile.conf.
 You can build the extra libraries (into lib/ligiglpng.a, lib/libiglmatlab.a,
 You can build the extra libraries (into lib/ligiglpng.a, lib/libiglmatlab.a,
 lib/libigltetgen.a, lib/libiglmosek.a, etc.) by issuing:
 lib/libigltetgen.a, lib/libiglmosek.a, etc.) by issuing:
-  
+
+    cd build
     make extras
     make extras
-  
+
 #### Examples ####
 #### Examples ####
 You can make a slew of examples by issuing:
 You can make a slew of examples by issuing:
-  
+
+    cd build
     make examples
     make examples
-  
+
 #### External ####
 #### External ####
 Finally there are a number of external libraries that we include in
 Finally there are a number of external libraries that we include in
 ./external/ because they are either difficult to obtain or they have been
 ./external/ because they are either difficult to obtain or they have been