Makefile 930 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Makefile of the library "external/flac"
  2. # Erez Volk, March 2007
  3. # pb 20100108: include sys/melder.h
  4. # Paul Boersma, 24 August 2013
  5. include ../../makefile.defs
  6. CPPFLAGS = -DFLAC__NOASM -I ../../melder
  7. # EREZ ?
  8. # On non-Intel, also define -DFLAC__CPU_UNKNOWN
  9. # On Intel, define -DFLAC__CPU_IA32
  10. # On PowerPC, define -DFLAC__CPU_PPC
  11. # How/when are these relevant?
  12. OBJECTS = \
  13. flac_bitmath.o \
  14. flac_bitreader.o \
  15. flac_bitwriter.o \
  16. flac_cpu.o \
  17. flac_crc.o \
  18. flac_fixed.o \
  19. flac_float.o \
  20. flac_format.o \
  21. flac_lpc.o \
  22. flac_md5.o \
  23. flac_memory.o \
  24. flac_metadata_iterators.o \
  25. flac_metadata_object.o \
  26. flac_stream_decoder.o \
  27. flac_stream_encoder.o \
  28. flac_stream_encoder_framing.o \
  29. flac_window.o
  30. .PHONY: all clean
  31. all: libflac.a
  32. clean:
  33. $(RM) $(OBJECTS)
  34. $(RM) libflac.a
  35. libflac.a: $(OBJECTS)
  36. touch libflac.a
  37. rm libflac.a
  38. $(AR) cq libflac.a $(OBJECTS)
  39. $(RANLIB) libflac.a
  40. $(OBJECTS): *.h ../../melder/*.h