Merge winewrap into winegcc. Many cleanups.
[wine.git] / tools / winegcc / Makefile.in
blob74bee1a68157a01244c041b4782266d304e584ce
1 DEFS = -DINCLUDEDIR="\"$(includedir)\"" -DDLLDIR="\"$(dlldir)\"" -DLIBDIR="\"$(libdir)\""
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 MODULE = none
8 PROGRAMS = winegcc
10 C_SRCS = \
11 utils.c \
12 winegcc.c
14 all: $(PROGRAMS)
16 @MAKE_RULES@
18 winegcc: winegcc.o utils.o
19 $(CC) $(CFLAGS) -o $@ winegcc.o utils.o $(LIBPORT)
21 install:: $(PROGRAMS)
22 $(MKINSTALLDIRS) $(bindir)
23 $(INSTALL_PROGRAM) winegcc $(bindir)/winegcc
24 cd $(bindir) && $(RM) wineg++ && $(LN_S) winegcc wineg++
25 cd $(bindir) && $(RM) winecpp && $(LN_S) winegcc winecpp
27 uninstall::
28 $(RM) $(bindir)/winegcc $(bindir)/wineg++ $(bindir)/winecpp
30 ### Dependencies: