Author: Olivier Sallou <osallou@debian.org>
Subject: remove compilation before clean
Description: clean target makes a compilation before cleanup
 Force removal of objects instead of generating them first.
Last-Updated: 2014-07-28
Forwarded: no
--- a/Makefile
+++ b/Makefile
@@ -41,8 +41,8 @@
 
 all:	$(SRC) $(EXEC)
 
-clean:	$(OBJS)
-	/bin/rm -rf $(OBJS) $(EXEC)
+clean:
+	/bin/rm -rf *.o prodigal
 
 $(EXEC):	$(OBJS)
 	$(CC) -o $@ $(OBJS) $(LDFLAGS) $(CFLAGS)
