diff --git a/GNUmakefile b/GNUmakefile index e5536665..c5fb6767 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -1169,7 +1169,7 @@ TESTIMPORTOBJS := $(TESTOBJS:.o=.import.o) DLLTESTOBJS := dlltest.dllonly.o # Clean recipe, Issue 998. Don't filter-out some artifacts from the list of objects -CLEAN_SRCS := $(wildcard *.cpp) +CLEAN_SRCS := $(wildcard *.cpp) $(wildcard *.S) CLEAN_OBJS := $(CLEAN_SRCS:.cpp=.o) $(CLEAN_SRCS:.cpp=.import.o) $(CLEAN_SRCS:.cpp=.export.o) ########################################################### diff --git a/GNUmakefile-cross b/GNUmakefile-cross index 8eb0f4f5..07176c65 100755 --- a/GNUmakefile-cross +++ b/GNUmakefile-cross @@ -677,7 +677,7 @@ TESTOBJS := $(TESTSRCS:.cpp=.o) LIBOBJS := $(filter-out $(TESTOBJS),$(OBJS)) # Clean recipe, Issue 998. Don't filter-out some artifacts from the list of objects -CLEAN_SRCS := $(wildcard *.cpp) +CLEAN_SRCS := $(wildcard *.cpp) $(wildcard *.S) CLEAN_OBJS := $(CLEAN_SRCS:.cpp=.o) $(CLEAN_SRCS:.cpp=.import.o) $(CLEAN_SRCS:.cpp=.export.o) # For Shared Objects, Diff, Dist/Zip rules