Skip to content

Commit 7c0f219

Browse files
committed
Added rule to remove gmon.out and take PWD form user shell
1 parent 65030c1 commit 7c0f219

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Defs.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
#All defines to be explained in docs/testing_framework.txt
77

8-
PROJ_PATH=~/workspaces/c_everything
8+
PROJ_PATH=$(PWD)
99
MODULE=test
1010

1111
.show:

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include Defs.make
22

3-
CC=cc
3+
CC=gcc
44
TEST_FILE_DIRECTORY="$(PROJ_PATH)/test/src"
55

66
LDLIBS= -lm -pg
@@ -57,6 +57,7 @@ $(test_ARCHIVE) :
5757
clean:
5858
make -C test/ clean
5959
# make -C ds/ clean
60+
rm $(PROJ_PATH)/gmon.out
6061
find ${PROJ_PATH} -name "*.[ao]" -exec rm -v {} \;
6162

6263

0 commit comments

Comments
 (0)