diff --git a/mkfs.ubifs/Makefile b/mkfs.ubifs/Makefile
index f802bff..9471ac4 100644
--- a/mkfs.ubifs/Makefile
+++ b/mkfs.ubifs/Makefile
@@ -11,7 +11,7 @@ mkfs.ubifs: crc16.o crc32.o lpt.o compr.o hashtable/hashtable.o \
             hashtable/hashtable_itr.o devtable.o
 
 clean:
-	rm -f *.o $(TARGETS) cscope.*
+	rm -f *.o hashtable/*.o $(TARGETS) cscope.*
 
 cscope:
 	@echo $(ALL_SOURCES) > cscope.files
