1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-04 04:50:22 +00:00

Remove FREETYPE_EXTRA_CLEAN_LIST

This commit is contained in:
Samuel Gomes 2024-01-08 03:17:50 +05:30
parent ee4d07991d
commit c030a73370
2 changed files with 3 additions and 10 deletions

View file

@ -31,19 +31,12 @@ $(PATH_INTERNAL_C)/parts/video/font/freetype/config.mk:
$(FREETYPE_LIB): $(PATH_INTERNAL_C)/parts/video/font/freetype/config.mk
$(MAKE) -C $(PATH_INTERNAL_C)/parts/video/font/freetype -f ./Makefile $(FREETYPE_MAKE_FLAGS)
# These files are autogenerated by FreeType and sometimes are not deleted
# correctly. So, we'll just remove these ourselves.
FREETYPE_EXTRA_CLEAN_LIST := \
$(PATH_INTERNAL_C)/parts/video/font/freetype/config.mk \
$(PATH_INTERNAL_C)/parts/video/font/freetype/objs/freetype.def \
$(PATH_INTERNAL_C)/parts/video/font/freetype/objs/ftmodule.h
.PHONY: clean-freetype-lib
clean-freetype-lib:
$(MAKE) -C $(PATH_INTERNAL_C)/parts/video/font/freetype -f ./Makefile $(FREETYPE_MAKE_FLAGS) distclean
CLEAN_DEP_LIST += clean-freetype-lib
CLEAN_LIST += $(FREETYPE_LIB) $(FONT_OBJS) $(FONT_STUB_OBJS) $(FREETYPE_EXTRA_CLEAN_LIST)
CLEAN_LIST += $(FREETYPE_LIB) $(FONT_OBJS) $(FONT_STUB_OBJS)
FREETYPE_EXE_LIBS := $(FREETYPE_LIB)

View file

@ -31,10 +31,10 @@ if [ -z "$(which brew)" ]; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
[ -z "$dont_run" ] && Pause
exit 1
else
brew install pkg-config freetype libpng
fi
brew update && brew install pkg-config freetype libpng
echo "Building 'QB64-PE'"
make OS=osx clean
make OS=osx BUILD_QB64=y -j3