blob: c37ac7e52c13a16a4d95fda454b407a3518e779b [file] [log] [blame]
David Turner046f7a02000-09-15 22:42:06 +00001#
2# Link instructions for Dos-like systems (Dos, Win32, OS/2)
3#
4
Werner Lemberg47a5f412000-10-17 03:38:43 +00005
6# Copyright 1996-2000 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
David Turner046f7a02000-09-15 22:42:06 +000016ifdef BUILD_PROJECT
17
Werner Lemberg594f0c92000-12-20 22:09:41 +000018 .PHONY: clean_project distclean_project
19
David Turner046f7a02000-09-15 22:42:06 +000020 # Now include the main sub-makefile. It contains all the rules used to
21 # build the library with the previous variables defined.
22 #
Werner Lemberg89df58f2002-06-14 08:09:25 +000023 include $(TOP_DIR)/builds/$(PROJECT).mk
David Turner046f7a02000-09-15 22:42:06 +000024
25 # The cleanup targets.
26 #
27 clean_project: clean_project_dos
28 distclean_project: distclean_project_dos
29
Werner Lemberge4b32a52000-10-31 20:42:18 +000030 # This final rule is used to link all object files into a single library.
David Turner896b6042000-10-03 17:51:29 +000031 # this is compiler-specific
David Turner046f7a02000-09-15 22:42:06 +000032 #
33 $(PROJECT_LIBRARY): $(OBJECTS_LIST)
Werner Lemberg9140ae02000-11-01 20:27:13 +000034 ifdef CLEAN_LIBRARY
35 -$(CLEAN_LIBRARY) $(NO_OUTPUT)
36 endif
Werner Lemberg20abe742001-09-10 13:11:52 +000037 $(LINK_LIBRARY)
David Turner046f7a02000-09-15 22:42:06 +000038
39endif
40
Werner Lemberg858f3102003-06-09 04:46:30 +000041
David Turner046f7a02000-09-15 22:42:06 +000042# EOF