Skip to content
Snippets Groups Projects
Commit 5e9c07f4 authored by Fritz Stracke's avatar Fritz Stracke Committed by Niklas Eiling
Browse files

Repair make clean


make clean would encounter an error in cpu. fixed.
make clean now removes bin directory.

Signed-off-by: default avatarFritz Stracke <fritz.stracke@rwth-aachen.de>
parent 7badf8cc
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,9 @@ clean:
$(MAKE) -C cpu clean
@echo -e "\033[31m----> Cleaning up test kernels\033[0m"
$(MAKE) -C tests clean
@echo -e "\033[31m----> Removing bin...\033[0m"
rm -rf bin
@echo -e "\033[31m All done!\033[0m"
cuda-gdb:
@echo -e "\033[36m----> Building submodules\033[0m"
......
......@@ -85,7 +85,7 @@ LIB_FLAGS += -L$(CUDA_SRC)/lib64/stubs
CC_FLAGS += -std=gnu11 $(INC_FLAGS)
# TODO: use extern in header files instead of direct definition e.g. in cpu-common.h to remove -fcommon flag
CC_FLAGS += -fcommon
LD_FLAGS = $(LIB_FLAGS) -ltirpc -ldl -lcrypto -lelf
LD_FLAGS = $(LIB_FLAGS) -ltirpc -ldl -lcrypto -lelf
ifdef WITH_DEBUG
# use ASAN_OPTIONS=protect_shadow_gap=0 LSAN_OPTIONS=fast_unwind_on_malloc=0 when running
......
.PHONY: all clean
all:
clean:
$(MAKE) -C cubin clean
$(MAKE) -C unit clean
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment