summaryrefslogtreecommitdiffstats
path: root/builds/link_std.mk
diff options
context:
space:
mode:
Diffstat (limited to 'builds/link_std.mk')
-rw-r--r--builds/link_std.mk42
1 files changed, 42 insertions, 0 deletions
diff --git a/builds/link_std.mk b/builds/link_std.mk
new file mode 100644
index 0000000..0bd2163
--- /dev/null
+++ b/builds/link_std.mk
@@ -0,0 +1,42 @@
+#
+# Link instructions for standard systems
+#
+
+
+# Copyright 1996-2000 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.
+
+
+ifdef BUILD_PROJECT
+
+ .PHONY: clean_project distclean_project
+
+ # 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
+
+ # The cleanup targets.
+ #
+ clean_project: clean_project_std
+ distclean_project: distclean_project_std
+
+ # This final rule is used to link all object files into a single library.
+ # this is compiler-specific
+ #
+ $(PROJECT_LIBRARY): $(OBJECTS_LIST)
+ ifdef CLEAN_LIBRARY
+ -$(CLEAN_LIBRARY) $(NO_OUTPUT)
+ endif
+ $(LINK_LIBRARY)
+
+endif
+
+
+# EOF