winegcc: Try harder to find out whether the compiler is from gcc family.
[wine] / tools / winebuild / Makefile.in
1 DEFS      = -D__WINESRC__ $(EXTRADEFS)
2
3 PROGRAMS = winebuild$(EXEEXT)
4 MANPAGE  = winebuild.man
5
6 C_SRCS = \
7         import.c \
8         main.c \
9         parser.c \
10         relay.c \
11         res16.c \
12         res32.c \
13         spec16.c \
14         spec32.c \
15         utils.c
16
17 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
18
19 all: $(PROGRAMS)
20
21 @MAKE_RULES@
22
23 winebuild$(EXEEXT): $(OBJS)
24         $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPORT) $(LDFLAGS)
25
26 install install-dev:: $(PROGRAMS) $(DESTDIR)$(bindir)
27         $(INSTALL_PROGRAM) winebuild$(EXEEXT) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)
28
29 uninstall::
30         $(RM) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)