Revision 57514323 Makefile

View differences:

Makefile
29 29
endif
30 30
endif
31 31

  
32
OBJS = ffmpeg.o ffserver.o
33
SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s)
34

  
32 35
all: lib $(PROG)
33 36

  
34 37
lib:
......
52 55
	install -s -m 755 $(PROG) $(prefix)/bin
53 56
	ln -sf ffmpeg $(prefix)/bin/ffplay 
54 57

  
58
dep:	depend
59

  
60
depend:
61
	$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
62

  
55 63
clean: 
56 64
	$(MAKE) -C libavcodec clean
57 65
	$(MAKE) -C libav clean
......
63 71

  
64 72
TAGS:
65 73
	etags *.[ch] libav/*.[ch] libavcodec/*.[ch]
74

  
75
ifneq ($(wildcard .depend),)
76
include .depend
77
endif

Also available in: Unified diff