David Turner | 046f7a0 | 2000-09-15 22:42:06 +0000 | [diff] [blame] | 1 | # |
| 2 | # Link instructions for Dos-like systems (Dos, Win32, OS/2) |
| 3 | # |
| 4 | |
Werner Lemberg | 47a5f41 | 2000-10-17 03:38:43 +0000 | [diff] [blame] | 5 | |
| 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 Turner | 046f7a0 | 2000-09-15 22:42:06 +0000 | [diff] [blame] | 16 | ifdef BUILD_PROJECT |
| 17 | |
Werner Lemberg | 594f0c9 | 2000-12-20 22:09:41 +0000 | [diff] [blame] | 18 | .PHONY: clean_project distclean_project |
| 19 | |
David Turner | 046f7a0 | 2000-09-15 22:42:06 +0000 | [diff] [blame] | 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)/builds/$(PROJECT).mk |
| 24 | |
| 25 | # The cleanup targets. |
| 26 | # |
| 27 | clean_project: clean_project_dos |
| 28 | distclean_project: distclean_project_dos |
| 29 | |
Werner Lemberg | e4b32a5 | 2000-10-31 20:42:18 +0000 | [diff] [blame] | 30 | # This final rule is used to link all object files into a single library. |
David Turner | 896b604 | 2000-10-03 17:51:29 +0000 | [diff] [blame] | 31 | # this is compiler-specific |
David Turner | 046f7a0 | 2000-09-15 22:42:06 +0000 | [diff] [blame] | 32 | # |
| 33 | $(PROJECT_LIBRARY): $(OBJECTS_LIST) |
Werner Lemberg | 9140ae0 | 2000-11-01 20:27:13 +0000 | [diff] [blame] | 34 | ifdef CLEAN_LIBRARY |
| 35 | -$(CLEAN_LIBRARY) $(NO_OUTPUT) |
| 36 | endif |
Werner Lemberg | 20abe74 | 2001-09-10 13:11:52 +0000 | [diff] [blame] | 37 | $(LINK_LIBRARY) |
David Turner | 046f7a0 | 2000-09-15 22:42:06 +0000 | [diff] [blame] | 38 | |
| 39 | endif |
| 40 | |
| 41 | # EOF |