aboutsummaryrefslogtreecommitdiffstats
path: root/makefilec
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-04-20 20:25:14 +0000
committerterminaldweller <thabogre@gmail.com>2022-04-20 20:25:14 +0000
commit6df53c23edd3817d7861d98aee087c8c2bec8be8 (patch)
tree28e19bdf552cf955126619e0be2a2fff6cf40a77 /makefilec
parentbunch of stuff (diff)
downloadscripts-6df53c23edd3817d7861d98aee087c8c2bec8be8.tar.gz
scripts-6df53c23edd3817d7861d98aee087c8c2bec8be8.zip
update
Diffstat (limited to '')
-rw-r--r--makefilec8
-rw-r--r--makefilecpp8
2 files changed, 8 insertions, 8 deletions
diff --git a/makefilec b/makefilec
index d96a2f2..6953882 100644
--- a/makefilec
+++ b/makefilec
@@ -178,22 +178,22 @@ $(TARGET).adbg: $(OBJ_DBG_LIST)
ar rcs $(TARGET).adbg $(OBJ_DBG_LIST)
runcov: $(TARGET)-cov
- $(TARGET)-cov
+ "./$(TARGET)-cov"
test: $(TARGET)
- $(TARGET)
+ "./$(TARGET)"
run: $(TARGET)
"./$(TARGET)"
valgrind: $(TARGET)
- - valgrind --track-origins=yes --leak-check=full --show-leak-kinds=all $(TARGET)
+ - valgrind --track-origins=yes --leak-check=full --show-leak-kinds=all "./$(TARGET)"
cppcheck:
cppcheck $(SRCS)
rundbg: $(TARGET)-dbg
- gdb --batch --command=./debug.dbg --args $(TARGET)-dbg
+ gdb --batch --command=./debug.dbg --args "./$(TARGET)-dbg"
format:
- clang-format -i $(SRCS) $(HDRS)
diff --git a/makefilecpp b/makefilecpp
index d5e9dc0..82f045c 100644
--- a/makefilecpp
+++ b/makefilecpp
@@ -183,22 +183,22 @@ $(TARGET).adbg: $(OBJ_DBG_LIST)
ar rcs $(TARGET).adbg $(OBJ_DBG_LIST)
runcov: $(TARGET)-cov
- $(TARGET)-cov
+ "./$(TARGET)-cov"
test: $(TARGET)
- $(TARGET)
+ "./$(TARGET)"
run: $(TARGET)
"./$(TARGET)"
valgrind: $(TARGET)
- - valgrind --track-origins=yes --leak-check=full --show-leak-kinds=all $(TARGET)
+ - valgrind --track-origins=yes --leak-check=full --show-leak-kinds=all "./$(TARGET)"
cppcheck:
cppcheck $(SRCS)
rundbg: $(TARGET)-dbg
- gdb --batch --command=./debug.dbg --args $(TARGET)-dbg
+ gdb --batch --command=./debug.dbg --args "./$(TARGET)-dbg"
format:
- clang-format -i $(SRCS) $(HDRS)