Merge branch 'master' of ssh://pgornicz@cpu22.student.cs.uwaterloo.ca/~/.git-repos...
authorPatrik Gornicz <Gornicz.P@gmail.com>
Sun, 16 Nov 2008 00:25:50 +0000 (19:25 -0500)
committerPatrik Gornicz <Gornicz.P@gmail.com>
Sun, 16 Nov 2008 00:25:50 +0000 (19:25 -0500)
configs/keys.cfg [new file with mode: 0644]
configs/test2.cfg
src/Makefile
src/config/reader.cpp

diff --git a/configs/keys.cfg b/configs/keys.cfg
new file mode 100644 (file)
index 0000000..0c6a8f3
--- /dev/null
@@ -0,0 +1,2 @@
+follow=f
+well=space
index baf64f5..baeb151 100644 (file)
@@ -1,2 +1,2 @@
-follow=k
-well=LCtrl
+follow=k
+well=LCtrl
index 14cc64b..342a14e 100644 (file)
@@ -14,7 +14,7 @@ WORKINGDIR  := ..
 TARGETNAME  := run_physics
 TARGET      := ${WORKINGDIR}/${TARGETNAME}
 
-SRCS := # simply to keep every line below the same
+SRCS := # := start
 
 DIRS := # := start
 DIRS += .
@@ -36,7 +36,6 @@ DEPS    := ${SRCS:.cpp=.d}
 DEPS    := $(addprefix ${DEPSDIR},${DEPS})
 
 BLDDIRS := $(addprefix ${DEPSDIR},${DIRS}) $(addprefix ${OBJSDIR},${DIRS})
-BLDDIRS := $(addsuffix /,${BLDDIRS})
 
 
 VERBOSE := 0
@@ -128,7 +127,7 @@ cgdb: all
 
 .PHONY: val
 val: all
-       cd ${WORKINGDIR}; valgrind ${VALFLAGS} ${TARGETNAME}
+       cd ${WORKINGDIR}; valgrind ${VALFLAGS} ./${TARGETNAME}
 
 .PHONY: prof
 prof: run
index f3dbdd1..e8757dd 100644 (file)
@@ -43,7 +43,7 @@ void createKeyMap();
 /// ***** Private Variables *****
 
 const char* configDir = "configs/";
-const char* testFile = "test2.cfg";
+const char* testFile = "keys.cfg";
 
 /// ***** Public Methods *****