29 lines
526 B
Makefile
29 lines
526 B
Makefile
PROGRAMS = wmc$(EXEEXT)
|
|
MANPAGES = wmc.man.in
|
|
ALL_LIBS = @LIBGETTEXTPO@ $(LIBWINE_STATIC) $(LIBPORT)
|
|
|
|
C_SRCS = \
|
|
lang.c \
|
|
mcl.c \
|
|
po.c \
|
|
utils.c \
|
|
wmc.c \
|
|
write.c
|
|
|
|
BISON_SRCS = mcy.y
|
|
|
|
INSTALLDIRS = $(DESTDIR)$(bindir)
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
wmc$(EXEEXT): $(OBJS)
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS)
|
|
|
|
install install-dev:: wmc$(EXEEXT) $(DESTDIR)$(bindir) install-man-pages
|
|
$(INSTALL_PROGRAM) wmc$(EXEEXT) $(DESTDIR)$(bindir)/wmc$(EXEEXT)
|
|
|
|
uninstall::
|
|
$(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT)
|