Sweden-Number/tools/wmc/Makefile.in

32 lines
658 B
Makefile
Raw Normal View History

DEFS = -D__WINESRC__ $(EXTRADEFS)
PROGRAMS = wmc$(EXEEXT) wmc-installed
MANPAGE = wmc.man
C_SRCS = \
lang.c \
mcl.c \
utils.c \
wmc.c \
write.c
BISON_SRCS = mcy.y
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
all: $(PROGRAMS)
@MAKE_RULES@
wmc$(EXEEXT): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_LOCAL)
2002-05-30 22:36:29 +02:00
wmc-installed: $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_INSTALL)
install:: wmc-installed $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) wmc-installed $(DESTDIR)$(bindir)/wmc$(EXEEXT)
uninstall::
$(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT)