1 TOPSRCDIR
= @top_srcdir@
7 PROGRAMS
= wmc
$(EXEEXT
)
18 EXTRA_OBJS
= mcy.tab.o
27 $(CC
) $(CFLAGS
) -o
$@
$(OBJS
) $(LIBUNICODE
) $(LIBPORT
) $(LEXLIB
) $(LDFLAGS
)
29 mcy.tab.c mcy.tab.h
: mcy.y
30 $(BISON
) -d
-t
$(SRCDIR
)/mcy.y
-o mcy.tab.c
32 # hack to allow parallel make
37 $(MKINSTALLDIRS
) $(bindir) $(mandir)/man
$(prog_manext
)
38 $(INSTALL_DATA
) $(SRCDIR
)/wmc.man
$(mandir)/man
$(prog_manext
)/wmc.
$(prog_manext
)
39 $(INSTALL_PROGRAM
) wmc
$(EXEEXT
) $(bindir)/wmc
$(EXEEXT
)
42 $(RM
) $(bindir)/wmc
$(EXEEXT
) $(mandir)/man
$(prog_manext
)/wmc.
$(prog_manext
)