PROGRAMS = wmc$(EXEEXT) MANPAGES = wmc.man.in ALL_LIBS = $(GETTEXTPO_LIBS) $(LIBWINE_STATIC) $(LIBPORT) C_SRCS = \ lang.c \ mcl.c \ po.c \ utils.c \ wmc.c \ write.c BISON_SRCS = mcy.y OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) wmc$(EXEEXT): $(OBJS) $(CC) $(CFLAGS) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS) .PHONY: install install-dev uninstall install install-dev:: wmc$(EXEEXT) install-man-pages $(INSTALL_PROGRAM) wmc$(EXEEXT) $(DESTDIR)$(bindir)/wmc$(EXEEXT) uninstall:: $(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT)