diff --git a/Makefile b/Makefile
index d183f598b49f20dc4c71735373cd660ff5769586..5e09b61befee379ae21c1d2ff1a8fab4f41dcb90 100644
--- a/Makefile
+++ b/Makefile
@@ -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"
diff --git a/cpu/Makefile b/cpu/Makefile
index 0a4c1773f876e5c614147f86ede5093093177d27..60572942d0a7c1694607719b68372515b42cf140 100644
--- a/cpu/Makefile
+++ b/cpu/Makefile
@@ -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
diff --git a/tests/cpu/Makefile b/tests/cpu/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..ab492786fa1ce683ae1d3bd9e3974e900f1cd0b7
--- /dev/null
+++ b/tests/cpu/Makefile
@@ -0,0 +1,7 @@
+.PHONY: all clean
+
+all:
+
+clean:
+	$(MAKE) -C cubin clean
+	$(MAKE) -C unit clean