fixed relative config path, needs to be run from withen run_physics directory now
authorPatrik Gornicz <Gornicz.P@gmail.com>
Thu, 28 Aug 2008 20:15:32 +0000 (16:15 -0400)
committerPatrik Gornicz <Gornicz.P@gmail.com>
Thu, 28 Aug 2008 20:15:32 +0000 (16:15 -0400)
src/Makefile
src/config/reader.cpp

index c9f8c86..13c255e 100644 (file)
@@ -139,7 +139,7 @@ tar: ../physics.tar.bz2
 
 .PHONY: run
 run: all
-       ${TARGET}
+       cd ..; ./run_physics
 
 .PHONY: gdb
 gdb: all
index 2d1d677..19f7d33 100644 (file)
@@ -35,7 +35,7 @@ bool extractLine(const string& str, string* name, string* value);
 
 /// ***** Private Variables *****
 
-char* configDir = "../configs/";
+char* configDir = "configs/";
 
 /// ***** Public Methods *****