diff --git a/.gitignore b/.gitignore
index a232684a944c9683dd4ad99e698bb58a593758a0..336ae928c44fec58c79e01628adf660fc873f3ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,3 +26,7 @@ examples/twoway/gen/
 lib/csharp/labcomm.dll
 lib/java/gen/
 lib/java/labcomm*.jar
+examples/simple/example_decoder
+examples/simple/example_decoder06
+examples/simple/example_encoder
+examples/simple/example_encoder06
diff --git a/examples/simple/Makefile b/examples/simple/Makefile
index 757301e818275ec4ae55c10514b825483b2ce0b8..05b1599b2200c9ec1ef8232f2275df64fb96e0bc 100644
--- a/examples/simple/Makefile
+++ b/examples/simple/Makefile
@@ -4,3 +4,9 @@ clean:
 
 distclean:
 	rm -rf gen
+	rm -rf gen06
+	rm -f *.class
+	rm -f example_encoder	
+	rm -f example_encoder06
+	rm -f example_decoder	
+	rm -f example_decoder06