aboutsummaryrefslogtreecommitdiff
path: root/mkfontscale/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mkfontscale/makefile')
-rw-r--r--mkfontscale/makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/mkfontscale/makefile b/mkfontscale/makefile
new file mode 100644
index 000000000..fc4b5a7b7
--- /dev/null
+++ b/mkfontscale/makefile
@@ -0,0 +1,28 @@
+TTYAPP = mkfontscale
+
+DEFINES += _BSD_SOURCE
+
+INCLUDES += $(MHMAKECONF)\freetype\include
+
+INCLUDELIBFILES = \
+ $(MHMAKECONF)\zlib\$(OBJDIR)\zlib1.lib \
+ $(MHMAKECONF)\libXfont\src\fontfile\$(OBJDIR)\libfontfile.lib \
+ $(MHMAKECONF)\libXfont\src\util\$(OBJDIR)\libutil.lib \
+ $(MHMAKECONF)\libfontenc\src\$(OBJDIR)\libfontenc.lib
+
+LIBDIRS=$(dir $(INCLUDELIBFILES))
+
+load_makefile $(LIBDIRS:%$(OBJDIR)\=%makefile MAKESERVER=0 DEBUG=$(DEBUG);)
+
+CSRCS = hash.c \
+ ident.c \
+ list.c \
+ mkfontscale.c
+
+ifeq ($(DEBUG),1)
+LINKLIBS += $(MHMAKECONF)\freetype\lib\freetype2410MT_D.lib
+else
+LINKLIBS += $(MHMAKECONF)\freetype\lib\freetype2410MT.lib
+endif
+
+