Revision 2dfa3054 Makefile

View differences:

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

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

  
73
tools/%.o: tools.%.c
74
	$(CC) $(CPPFLAGS) $(CFLAGS) $(CC_O) $<
72 75

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

  

Also available in: Unified diff