Bug #700 » 0001-Use-LDFLAGS-when-linking.patch
Makefile | ||
---|---|---|
### Targets:
|
||
libvdr-$(PLUGIN).so: $(OBJS)
|
||
$(CXX) $(CXXFLAGS) -shared $^ -o $@
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $^ -o $@
|
||
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
||
.PHONY: tests
|
tools/Makefile | ||
---|---|---|
all: $(PROGRAM)
|
||
$(PROGRAM): $(PROGRAM).cpp $(SRCS) $(SRCS:%.cpp=%.h)
|
||
$(CXX) $(CXXFLAGS) $(DEFINES) $(INCLUDES) -o $@ $(PROGRAM).cpp $(SRCS)
|
||
$(CXX) $(CXXFLAGS) $(LDFLAGS) $(DEFINES) $(INCLUDES) -o $@ $(PROGRAM).cpp $(SRCS)
|
||
install: all
|
||
$(INSTALL_DIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
|
- « Previous
- 1
- 2
- Next »