30 lines
474 B
Makefile
30 lines
474 B
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = wine
|
|
|
|
C_SRCS = \
|
|
main.c
|
|
|
|
all: $(MODULE)
|
|
|
|
@MAKE_RULES@
|
|
|
|
LDEXECFLAGS = @LDEXECFLAGS@
|
|
|
|
$(MODULE): $(OBJS)
|
|
$(CC) -o $@ $(LDEXECFLAGS) $(OBJS) -L$(DLLDIR) -lntdll.dll $(LIBWINE) $(LIBUNICODE) $(LIBPORT) $(LDFLAGS)
|
|
|
|
install:: $(MODULE)
|
|
$(MKINSTALLDIRS) $(bindir)
|
|
$(INSTALL_PROGRAM) wine $(bindir)/wine
|
|
|
|
uninstall::
|
|
$(RM) $(bindir)/wine
|
|
|
|
clean::
|
|
$(RM) $(MODULE)
|
|
|
|
### Dependencies:
|