Use `patsubst' instead of `subst' in cleaning rule to avoid problems with
filenames which contain `lo' in its name (e.g. ahglobal.lo).
This commit is contained in:
parent
1fd410bbe1
commit
a2a75b7846
|
@ -186,7 +186,7 @@ ifdef BUILD_FREETYPE
|
|||
#
|
||||
clean_freetype_unix:
|
||||
-$(DELETE) $(BASE_OBJECTS) $(OBJ_M) $(OBJ_S)
|
||||
-$(DELETE) $(subst $O,$(SO),$(BASE_OBJECTS) $(OBJ_M) $(OBJ_S)) \
|
||||
-$(DELETE) $(patsubst %.$O,%.$(SO),$(BASE_OBJECTS) $(OBJ_M) $(OBJ_S)) \
|
||||
$(CLEAN)
|
||||
|
||||
distclean_freetype_unix: clean_freetype_unix
|
||||
|
|
Loading…
Reference in New Issue