Instrument winegcc to use the compilers and options detected at
[wine.git] / tools / winegcc / Makefile.in
blob19c2afbc7f56e852e86350cff385f98406db9fae
1 DEFS = \
2 -DINCLUDEDIR="\"$(includedir)\"" \
3 -DDLLDIR="\"$(dlldir)\"" \
4 -DLIBDIR="\"$(libdir)\"" \
5 -DDLLFLAGS="\"@DLLFLAGS@\"" \
6 -DLDDLLFLAGS="\"$(LDDLLFLAGS)\"" \
7 -DCC="\"$(CC)\"" \
8 -DCPP="\"$(CPP)\"" \
9 -DCXX="\"$(CXX)\""
11 TOPSRCDIR = @top_srcdir@
12 TOPOBJDIR = ../..
13 SRCDIR = @srcdir@
14 VPATH = @srcdir@
15 MODULE = none
17 PROGRAMS = winegcc
19 C_SRCS = \
20 utils.c \
21 winegcc.c
23 all: $(PROGRAMS)
25 @MAKE_RULES@
27 winegcc: winegcc.o utils.o
28 $(CC) $(CFLAGS) -o $@ winegcc.o utils.o $(LIBPORT)
30 install:: $(PROGRAMS)
31 $(MKINSTALLDIRS) $(bindir)
32 $(INSTALL_PROGRAM) winegcc $(bindir)/winegcc
33 cd $(bindir) && $(RM) wineg++ && $(LN_S) winegcc wineg++
34 cd $(bindir) && $(RM) winecpp && $(LN_S) winegcc winecpp
36 uninstall::
37 $(RM) $(bindir)/winegcc $(bindir)/wineg++ $(bindir)/winecpp
39 ### Dependencies: