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.

41 lines
590B

  1. include ../config.mak
  2. LIBNAME = libpostproc.a
  3. SRCS=postprocess.c swscale.c rgb2rgb.c yuv2rgb.c
  4. OBJS=$(SRCS:.c=.o)
  5. CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. -Wall $(EXTRA_INC)
  6. # -I/usr/X11R6/include/
  7. .SUFFIXES: .c .o
  8. # .PHONY: all clean
  9. .c.o:
  10. $(CC) -c $(CFLAGS) -o $@ $<
  11. $(LIBNAME): $(OBJS)
  12. $(AR) r $(LIBNAME) $(OBJS)
  13. all: $(LIBNAME)
  14. clean:
  15. rm -f *.o *.a *~
  16. distclean:
  17. rm -f Makefile.bak *.o *.a *~ .depend
  18. dep: depend
  19. depend:
  20. $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
  21. #
  22. # include dependency files if they exist
  23. #
  24. ifneq ($(wildcard .depend),)
  25. include .depend
  26. endif