Commit d2e2bb24 authored by Kristoffer Gleditsch's avatar Kristoffer Gleditsch Committed by Alexandre Julliard

Added LDFLAGS to linking of wine-related binaries.

parent 8a31634a
...@@ -43,7 +43,7 @@ lex.yy.c: debug.l ...@@ -43,7 +43,7 @@ lex.yy.c: debug.l
$(LEX) -8 -I $(SRCDIR)/debug.l $(LEX) -8 -I $(SRCDIR)/debug.l
winedbg: $(OBJS) winedbg: $(OBJS)
$(CC) -o $@ $(OBJS) $(DLL_LINK) $(LIBS) $(CC) -o $@ $(OBJS) $(DLL_LINK) $(LIBS) $(LDFLAGS)
install:: $(PROGRAMS) install:: $(PROGRAMS)
[ -d $(bindir) ] || $(MKDIR) $(bindir) [ -d $(bindir) ] || $(MKDIR) $(bindir)
......
...@@ -43,7 +43,7 @@ all: $(PROGRAMS) ...@@ -43,7 +43,7 @@ all: $(PROGRAMS)
@MAKE_RULES@ @MAKE_RULES@
wineserver: $(OBJS) wineserver: $(OBJS)
$(CC) -o $(PROGRAMS) $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(LIBS) $(CC) -o $(PROGRAMS) $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(LIBS) $(LDFLAGS)
install:: $(PROGRAMS) install:: $(PROGRAMS)
[ -d $(bindir) ] || $(MKDIR) $(bindir) [ -d $(bindir) ] || $(MKDIR) $(bindir)
......
...@@ -24,7 +24,7 @@ all: $(PROGRAMS) ...@@ -24,7 +24,7 @@ all: $(PROGRAMS)
@MAKE_RULES@ @MAKE_RULES@
winebuild: $(OBJS) $(TOPOBJDIR)/libwine_unicode.$(LIBEXT) winebuild: $(OBJS) $(TOPOBJDIR)/libwine_unicode.$(LIBEXT)
$(CC) $(CFLAGS) -o winebuild $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(CC) $(CFLAGS) -o winebuild $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(LDFLAGS)
$(TOPOBJDIR)/libwine_unicode.$(LIBEXT): $(TOPOBJDIR)/libwine_unicode.$(LIBEXT):
cd $(TOPOBJDIR) && $(MAKE) libwine_unicode.$(LIBEXT) cd $(TOPOBJDIR) && $(MAKE) libwine_unicode.$(LIBEXT)
......
...@@ -26,7 +26,7 @@ depend mcl.o: y.tab.h ...@@ -26,7 +26,7 @@ depend mcl.o: y.tab.h
@MAKE_RULES@ @MAKE_RULES@
wmc: $(OBJS) $(TOPOBJDIR)/libwine_unicode.$(LIBEXT) wmc: $(OBJS) $(TOPOBJDIR)/libwine_unicode.$(LIBEXT)
$(CC) $(CFLAGS) -o wmc $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(LEXLIB) $(CC) $(CFLAGS) -o wmc $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(LEXLIB) $(LDFLAGS)
$(TOPOBJDIR)/libwine_unicode.$(LIBEXT): $(TOPOBJDIR)/libwine_unicode.$(LIBEXT):
cd $(TOPOBJDIR) && $(MAKE) libwine_unicode.$(LIBEXT) cd $(TOPOBJDIR) && $(MAKE) libwine_unicode.$(LIBEXT)
......
...@@ -31,7 +31,7 @@ depend: y.tab.h ppy.tab.h ...@@ -31,7 +31,7 @@ depend: y.tab.h ppy.tab.h
@MAKE_RULES@ @MAKE_RULES@
wrc: $(OBJS) $(TOPOBJDIR)/libwine_unicode.$(LIBEXT) wrc: $(OBJS) $(TOPOBJDIR)/libwine_unicode.$(LIBEXT)
$(CC) $(CFLAGS) -o wrc $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(LEXLIB) $(CC) $(CFLAGS) -o wrc $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(LEXLIB) $(LDFLAGS)
$(TOPOBJDIR)/libwine_unicode.$(LIBEXT): $(TOPOBJDIR)/libwine_unicode.$(LIBEXT):
cd $(TOPOBJDIR) && $(MAKE) libwine_unicode.$(LIBEXT) cd $(TOPOBJDIR) && $(MAKE) libwine_unicode.$(LIBEXT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment