2
# a Makefile for "ctext2pgm"
3
# by Hirotsugu Kakugawa
6
# -----------------------------------------------------------------------
10
include ../../make-sub
17
default all: $(PROGRAM)
20
ctext2pgm: ctext2pgm.o $(VFLIB_DIR)/libVFlib3.la
21
$(LIBTOOL) --mode=link \
22
$(CC) $(VFCFLAGS) -o ctext2pgm ctext2pgm.o \
23
$(VFLIB_DIR)/libVFlib3.la
24
ctext2pgm.o: ctext2pgm.c ctext2pgm.h fontdef.h
25
$(CC) $(VFCFLAGS) -I$(VFLIB_DIR) -c ctext2pgm.c
27
ctext2pgms: ctext2pgm.o $(VFLIB_DIR)/libVFlib3.la
28
$(LIBTOOL) --mode=link \
29
$(CC) $(VFCFLAGS) -static -o ctext2pgms ctext2pgm.o \
30
$(VFLIB_DIR)/libVFlib3.la
36
@$(LIBTOOL) --mode=install \
37
../../$(INSTALL_PROGRAM) ctext2pgm $(bindir)
38
@../../$(INSTALL_DATA) vflibcap-ctext2pgm $(runtimedir)
40
$(LIBTOOL) --mode=uninstall $(RM) $(bindir)/ctext2pgm
41
$(RM) $(runtimedir)/vflibcap-ctext2pgm
44
-$(RM) $(PROGRAM) ctext2pgms