You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
483B

  1. include ../config.mak
  2. CFLAGS= $(OPTFLAGS) -Wall -g -I../libavcodec -DHAVE_AV_CONFIG_H
  3. OBJS= rm.o mpeg.o asf.o avienc.o jpeg.o swf.o wav.o raw.o \
  4. avidec.o ffm.o \
  5. avio.o aviobuf.o utils.o \
  6. file.o img.o au.o gif.o mov.o
  7. ifeq ($(CONFIG_GRAB),yes)
  8. OBJS+= grab.o audio.o
  9. endif
  10. ifneq ($(CONFIG_WIN32),yes)
  11. OBJS+= udp.o http.o
  12. endif
  13. LIB= libav.a
  14. all: $(LIB)
  15. $(LIB): $(OBJS)
  16. rm -f $@
  17. $(AR) rcs $@ $(OBJS)
  18. %.o: %.c
  19. $(CC) $(CFLAGS) -c -o $@ $<
  20. clean:
  21. rm -f *.o *~ *.a