wine/tools/winegcc/Makefile.in
Alexandre Julliard 69a9c2be72 winegcc: Also search the include and lib dirs relative to the binary path.
Suggested by Kevin Puetz.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-30 15:57:11 +01:00

22 lines
491 B
Makefile

PROGRAMS = winegcc
MANPAGES = winegcc.man.in
winegcc_SYMLINKS = winecpp wineg++
C_SRCS = \
utils.c \
winegcc.c
winegcc_EXTRADEFS = \
-DINCLUDEDIR="\"${includedir}\"" \
-DLIBDIR="\"${libdir}\"" \
-DBIN_TO_INCLUDEDIR=\"`$(MAKEDEP) -R ${bindir} ${includedir}`\" \
-DBIN_TO_LIBDIR=\"`$(MAKEDEP) -R ${bindir} ${libdir}`\" \
-DCC="\"$(CC)\"" \
-DCPP="\"$(CPPBIN)\"" \
-DCXX="\"$(CXX)\"" \
-DLD="\"$(LD)\"" \
-DPRELINK="\"$(PRELINK)\""
INSTALL_DEV = $(PROGRAMS) $(winegcc_SYMLINKS)