Permalink
Browse files

Checkstyle makefile problem fixed.

  • Loading branch information...
Stefan Jansen
Stefan Jansen committed May 14, 2012
1 parent b050d20 commit 9346300d00ba831bbbfbbef8c1a2233be4702a09
Showing with 2 additions and 2 deletions.
  1. +1 −1 simulator/Makefile
  2. +1 −1 simulator/variables.mk
View
@@ -18,7 +18,7 @@ all: .prepare $(BUILD_DIR)/$(RELEASE_EXECUTABLE)
$(GCOVR) -f '$(WORKING_DIR)/$(SRC_DIR)' -x -o $(BUILD_DIR)/coverage.xml -r $(WORKING_DIR)/$(SRC_DIR)
.checkstyle:
- cppcheck --xml --includes-file=include -v --enable=all src/ 2> $(BUILD_DIR)/checkstyle.xml
+ cd $(GIT_REPOSITORY); cppcheck --xml --includes-file=include -v --enable=all $(WORKING_DIR)/src/ 2> $(WORKING_DIR)/$(BUILD_DIR)/checkstyle.xml
.clean:
-rm -R $(BUILD_DIR)
View
@@ -1,5 +1,5 @@
PROGRAM_NAME := simulator
-WORKING_DIR = `pwd`
+WORKING_DIR := $(shell pwd)
GIT_REPOSITORY := $(WORKING_DIR)/..
# Executables

0 comments on commit 9346300

Please sign in to comment.