Audio plugin host https://kx.studio/carla
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.

54 lines
1.1KB

  1. #!/usr/bin/make -f
  2. # Makefile for audio_decoder #
  3. # -------------------------- #
  4. # Created by falkTX
  5. #
  6. include ../../Makefile.mk
  7. # --------------------------------------------------------------
  8. BUILD_C_FLAGS += $(AUDIO_DECODER_FLAGS) -I. -I..
  9. # --------------------------------------------------------------
  10. OBJS = \
  11. ad_ffmpeg.c.o \
  12. ad_plugin.c.o \
  13. ad_soundfile.c.o
  14. TARGETS = \
  15. ../audio_decoder.a
  16. # --------------------------------------------------------------
  17. all: $(TARGETS)
  18. # --------------------------------------------------------------
  19. clean:
  20. $(RM) $(OBJS)
  21. $(RM) $(TARGETS)
  22. debug:
  23. $(MAKE) DEBUG=true
  24. # --------------------------------------------------------------
  25. ../audio_decoder.a: $(OBJS)
  26. $(RM) $@
  27. $(AR) crs $@ $^
  28. # --------------------------------------------------------------
  29. ad_ffmpeg.c.o: ad_ffmpeg.c ad_plugin.h ffcompat.h ad.h
  30. $(CC) $< $(BUILD_C_FLAGS) -c -o $@
  31. ad_plugin.c.o: ad_plugin.c ad_plugin.h ad.h
  32. $(CC) $< $(BUILD_C_FLAGS) -c -o $@
  33. ad_soundfile.c.o: ad_soundfile.c ad_plugin.h ad.h
  34. $(CC) $< $(BUILD_C_FLAGS) -c -o $@
  35. # --------------------------------------------------------------