1# 2# Link instructions for standard systems 3# 4 5 6# Copyright (C) 1996-2020 by 7# David Turner, Robert Wilhelm, and Werner Lemberg. 8# 9# This file is part of the FreeType project, and may only be used, modified, 10# and distributed under the terms of the FreeType project license, 11# LICENSE.TXT. By continuing to use, modify, or distribute this file you 12# indicate that you have read the license and understand and accept it 13# fully. 14 15 16ifdef BUILD_PROJECT 17 18 .PHONY: clean_project distclean_project 19 20 # Now include the main sub-makefile. It contains all the rules used to 21 # build the library with the previous variables defined. 22 # 23 include $(TOP_DIR)/builds/$(PROJECT).mk 24 25 # The cleanup targets. 26 # 27 clean_project: clean_project_std 28 distclean_project: distclean_project_std 29 30 # This final rule is used to link all object files into a single library. 31 # this is compiler-specific 32 # 33 $(PROJECT_LIBRARY): $(OBJECTS_LIST) 34 ifdef CLEAN_LIBRARY 35 -$(CLEAN_LIBRARY) $(NO_OUTPUT) 36 endif 37 $(LINK_LIBRARY) 38 39endif 40 41 42# EOF 43