Revision d4210e2a

View differences:

common.mak
65 65
DEPS := $(OBJS:.o=.d)
66 66
depend dep: $(DEPS)
67 67

  
68
CLEANFILES += *.o *~ *.a *.lib *.so *.so.* *.dylib *.dll \
69
              *.def *.dll.a *.exp *.ho *.map
68
CLEANSUFFIXES = *.o *~ *.ho
69
LIBSUFFIXES   = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a *.exp *.map
70 70

  
71 71
define RULES
72 72
$(SUBDIR)%: $(SUBDIR)%.o $(LIBNAME)
......
76 76
	$(CC) $(CFLAGS) $(FFLDFLAGS) -DTEST -o $$@ $$^ $(FFEXTRALIBS)
77 77

  
78 78
clean::
79
	rm -f $(TESTS) $(addprefix $(SUBDIR),$(CLEANFILES))
79
	rm -f $(TESTS) $(addprefix $(SUBDIR),$(CLEANFILES) $(CLEANSUFFIXES) $(LIBSUFFIXES))
80 80

  
81 81
distclean:: clean
82 82
	rm -f $(DEPS)

Also available in: Unified diff