ref: a2a75b7846ced539cea8cd39e73ca4313f8f033c
parent: 1fd410bbe19362dedc0417198e3c052afcb1c113
author: Werner Lemberg <[email protected]>
date: Wed Jul 26 17:47:19 EDT 2000
Use `patsubst' instead of `subst' in cleaning rule to avoid problems with filenames which contain `lo' in its name (e.g. ahglobal.lo).
--- a/builds/unix/unix.in
+++ b/builds/unix/unix.in
@@ -186,7 +186,7 @@
#
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