1 TOPSRCDIR
= @top_srcdir@
7 PROGRAMS
= wmc
$(EXEEXT
)
19 EXTRA_OBJS
= mcy.tab.o
21 all: $(PROGRAMS
) $(MANPAGES
)
28 $(CC
) $(CFLAGS
) -o
$@
$(OBJS
) $(LIBUNICODE
) $(LIBPORT
) $(LEXLIB
) $(LDFLAGS
)
30 mcy.tab.c mcy.tab.h
: mcy.y
31 $(BISON
) -d
-t
$(SRCDIR
)/mcy.y
-o mcy.tab.c
33 # hack to allow parallel make
37 install:: $(PROGRAMS
) $(MANPAGES
)
38 $(MKINSTALLDIRS
) $(bindir) $(mandir)/man
$(prog_manext
)
39 $(INSTALL_DATA
) wmc.man
$(mandir)/man
$(prog_manext
)/wmc.
$(prog_manext
)
40 $(INSTALL_PROGRAM
) wmc
$(EXEEXT
) $(bindir)/wmc
$(EXEEXT
)
43 $(RM
) $(bindir)/wmc
$(EXEEXT
) $(mandir)/man
$(prog_manext
)/wmc.
$(prog_manext
)