Revision 684b28e0 Makefile

View differences:

Makefile
65 65
ffserver_g$(EXESUF): FF_LDFLAGS += $(FFSERVERLDFLAGS)
66 66

  
67 67
%_g$(EXESUF): %.o cmdutils.o $(FF_DEP_LIBS)
68
	$(CC) $(FF_LDFLAGS) -o $@ $< cmdutils.o $(FF_EXTRALIBS)
68
	$(LD) $(FF_LDFLAGS) -o $@ $< cmdutils.o $(FF_EXTRALIBS)
69 69

  
70 70
tools/%$(EXESUF): tools/%.c
71
	$(CC) $(CFLAGS) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
71
	$(LD) $(CFLAGS) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
72 72

  
73 73
ffplay.o ffplay.d: CFLAGS += $(SDL_CFLAGS)
74 74

  
......
304 304
tests/%$(HOSTEXESUF): tests/%.c
305 305
	$(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $< $(HOSTLIBS)
306 306

  
307
tests/seek_test$(EXESUF): tests/seek_test.c $(FF_DEP_LIBS)
308
	$(CC) $(FF_LDFLAGS) $(CFLAGS) -o $@ $< $(FF_EXTRALIBS)
307
tests/seek_test$(EXESUF): tests/seek_test.o $(FF_DEP_LIBS)
308
	$(LD) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
309 309

  
310 310

  
311 311
.PHONY: documentation *test regtest-* zlib-error alltools check config

Also available in: Unified diff