File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1169,7 +1169,8 @@ TESTIMPORTOBJS := $(TESTOBJS:.o=.import.o)
1169
1169
DLLTESTOBJS := dlltest.dllonly.o
1170
1170
1171
1171
# Clean recipe, Issue 998. Don't filter-out some artifacts from the list of objects
1172
- CLEAN_SRCS := $(wildcard * .cpp)
1172
+ # The *.S is a hack. It makes the ASM appear like C++ so the object files make the CLEAN_OBJS list
1173
+ CLEAN_SRCS := $(wildcard * .cpp) $(patsubst % .S,% .cpp,$(wildcard * .S) )
1173
1174
CLEAN_OBJS := $(CLEAN_SRCS:.cpp=.o ) $(CLEAN_SRCS:.cpp=.import.o ) $(CLEAN_SRCS:.cpp=.export.o )
1174
1175
1175
1176
# ##########################################################
Original file line number Diff line number Diff line change @@ -677,7 +677,8 @@ TESTOBJS := $(TESTSRCS:.cpp=.o)
677
677
LIBOBJS := $(filter-out $(TESTOBJS),$(OBJS))
678
678
679
679
# Clean recipe, Issue 998. Don't filter-out some artifacts from the list of objects
680
- CLEAN_SRCS := $(wildcard *.cpp)
680
+ # The *.S is a hack. It makes the ASM appear like C++ so the object files make the CLEAN_OBJS list
681
+ CLEAN_SRCS := $(wildcard *.cpp) $(patsubst %.S,%.cpp,$(wildcard *.S))
681
682
CLEAN_OBJS := $(CLEAN_SRCS:.cpp=.o) $(CLEAN_SRCS:.cpp=.import.o) $(CLEAN_SRCS:.cpp=.export.o)
682
683
683
684
# For Shared Objects, Diff, Dist/Zip rules
You can’t perform that action at this time.
0 commit comments