[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2-demos] GSoC-2020-anuj f08c1a4 2/2: [build] Add `ftsdf' to the
From: |
Anuj Verma |
Subject: |
[freetype2-demos] GSoC-2020-anuj f08c1a4 2/2: [build] Add `ftsdf' to the build system. |
Date: |
Sat, 22 Aug 2020 02:00:05 -0400 (EDT) |
branch: GSoC-2020-anuj
commit f08c1a4b133781fe7cf5763d453944c0315f3d5d
Author: Anuj Verma <anujv@iitbhilai.ac.in>
Commit: Anuj Verma <anujv@iitbhilai.ac.in>
[build] Add `ftsdf' to the build system.
* Makefile: Compile and link `ftsdf' demo program.
---
Makefile | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 851c4f7..87075f1 100644
--- a/Makefile
+++ b/Makefile
@@ -298,7 +298,8 @@ else
ftgrid \
ftmulti \
ftstring \
- ftview
+ ftview \
+ ftsdf
# ftvalid requires ftgxval.c and ftotval.c
#
@@ -438,6 +439,16 @@ else
$(COMPILE) $(GRAPH_INCLUDES:%=$I%) \
$T$(subst /,$(COMPILER_SEP),$@ $<) $DFT2_BUILD_LIBRARY
+ ####################################################################
+ #
+ # Special rule to compile the `ftsdf' program as it includes
+ # internal header files.
+ #
+ $(OBJ_DIR_2)/ftsdf.$(SO): $(SRC_DIR)/ftsdf.c \
+ $(SRC_DIR)/ftcommon.h \
+ $(GRAPH_LIB)
+ $(COMPILE) $(GRAPH_INCLUDES:%=$I%) \
+ $T$(subst /,$(COMPILER_SEP),$@ $<) $DFT2_BUILD_LIBRARY
####################################################################
#
@@ -547,6 +558,9 @@ else
$(GRAPH_LIB) $(COMMON_OBJ) $(FTCOMMON_OBJ)
$(LINK_NEW)
+ $(BIN_DIR_2)/ftsdf$E: $(OBJ_DIR_2)/ftsdf.$(SO) $(FTLIB) \
+ $(GRAPH_LIB) $(COMMON_OBJ) $(FTCOMMON_OBJ)
+ $(LINK_NEW)
endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2-demos] GSoC-2020-anuj f08c1a4 2/2: [build] Add `ftsdf' to the build system.,
Anuj Verma <=