Makefile 555 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # Makefile of the library "external/mp3"
  2. # Erez Volk, 24 May 2007
  3. # Paul Boersma, 24 August 2013
  4. include ../../makefile.defs
  5. CPPFLAGS = -I ../../melder
  6. OBJECTS = mp3.o \
  7. mad_bit.o \
  8. mad_decoder.o \
  9. mad_fixed.o \
  10. mad_frame.o \
  11. mad_huffman.o \
  12. mad_layer12.o \
  13. mad_layer3.o \
  14. mad_stream.o \
  15. mad_synth.o \
  16. mad_timer.o \
  17. mad_version.o
  18. .PHONY: all clean
  19. all: libmp3.a
  20. clean:
  21. $(RM) $(OBJECTS)
  22. $(RM) libmp3.a
  23. libmp3.a: $(OBJECTS)
  24. touch libmp3.a
  25. rm libmp3.a
  26. $(AR) cq libmp3.a $(OBJECTS)
  27. $(RANLIB) libmp3.a
  28. $(OBJECTS): *.h ../../melder/*.h