freetype2/builds/link_std.mk

43 lines
1.0 KiB
Makefile
Raw Normal View History

2000-09-16 00:42:06 +02:00
#
# Link instructions for standard systems
#
2015-01-17 20:41:43 +01:00
# Copyright 1996-2015 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
# indicate that you have read the license and understand and accept it
# fully.
2000-09-16 00:42:06 +02:00
ifdef BUILD_PROJECT
.PHONY: clean_project distclean_project
2000-09-16 00:42:06 +02:00
# Now include the main sub-makefile. It contains all the rules used to
# build the library with the previous variables defined.
#
include $(TOP_DIR)/builds/$(PROJECT).mk
2000-09-16 00:42:06 +02:00
# The cleanup targets.
#
clean_project: clean_project_std
distclean_project: distclean_project_std
2000-10-31 21:42:18 +01:00
# This final rule is used to link all object files into a single library.
# this is compiler-specific
2000-09-16 00:42:06 +02:00
#
$(PROJECT_LIBRARY): $(OBJECTS_LIST)
2000-11-01 21:27:13 +01:00
ifdef CLEAN_LIBRARY
-$(CLEAN_LIBRARY) $(NO_OUTPUT)
2000-11-01 21:27:13 +01:00
endif
$(LINK_LIBRARY)
2000-09-16 00:42:06 +02:00
endif
2000-09-16 00:42:06 +02:00
# EOF