Fixed make install target to work even when nothing has been compiled
[wine] / tools / winebuild / Makefile.in
1 DEFS      = -D__WINE__
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6
7 PROGRAMS = winebuild$(EXEEXT)
8 MODULE   = none
9
10 C_SRCS = \
11         import.c \
12         main.c \
13         parser.c \
14         relay.c \
15         res16.c \
16         res32.c \
17         spec16.c \
18         spec32.c \
19         utils.c
20
21 all: $(PROGRAMS)
22
23 @MAKE_RULES@
24
25 winebuild$(EXEEXT): $(OBJS)
26         $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWINE) $(LIBUNICODE) $(LDFLAGS)
27
28 install:: $(PROGRAMS)
29         $(MKINSTALLDIRS) $(bindir)
30         $(INSTALL_PROGRAM) winebuild$(EXEEXT) $(bindir)/winebuild$(EXEEXT)
31
32 uninstall::
33         $(RM) $(bindir)/winebuild$(EXEEXT)
34
35 ### Dependencies: