mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
27 lines
529 B
Makefile
27 lines
529 B
Makefile
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)
|