fix clean target
[l2tpns.git] / Makefile
index e34031d..940a505 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -48,7 +48,7 @@ plugins: $(PLUGINS)
 tests: $(TESTS)
 
 clean:
-       rm -f *.o test/*.o $(TARGETS) Makefile.tmp Makefile.bak
+       rm -f *.o test/*.o $(PROGRAMS) $(PLUGINS) $(TESTS) Makefile.tmp Makefile.bak
 
 depend:
        (sed -n 'p; /^## Dependencies: (autogenerated) ##/q' Makefile && \