Assists music production by grouping standalone programs into sessions. Community version of "Non Session Manager".
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.

67 lines
1.4KB

  1. # Makefile for the Non-DAW.
  2. # Copyright 2008 Jonathan Moore Liles
  3. # This file is licensed under version 2 of the GPL.
  4. #
  5. # Do not edit this file; run `make config` instead.
  6. #
  7. VERSION := 0.5.0
  8. all: make.conf FL Timeline Mixer
  9. make.conf: configure
  10. @ ./configure
  11. config:
  12. @ ./configure
  13. -include make.conf
  14. ifeq ($(USE_DEBUG),yes)
  15. CXXFLAGS := -pipe -ggdb -Wall -Wextra -Wnon-virtual-dtor -Wno-missing-field-initializers -O0 -fno-rtti -fno-exceptions
  16. else
  17. CXXFLAGS := -pipe -O2 -fno-rtti -fno-exceptions -DNDEBUG
  18. endif
  19. CXXFLAGS += $(SNDFILE_CFLAGS) $(LASH_CFLAGS) $(FLTK_CFLAGS) -DINSTALL_PREFIX="\"$(prefix)\"" -DVERSION=\"$(VERSION)\"
  20. INCLUDES := -Iutil
  21. include scripts/colors
  22. .C.o:
  23. @ echo "Compiling: $(BOLD)$(YELLOW)$<$(SGR0)"
  24. @ $(CXX) $(CXXFLAGS) $(INCLUDES) -c $< -o $@
  25. %.C : %.fl
  26. @ cd `dirname $<` && fluid -c ../$<
  27. DONE := $(BOLD)$(GREEN)done$(SGR0)
  28. include FL/makefile.inc
  29. include Timeline/makefile.inc
  30. include Mixer/makefile.inc
  31. SRCS:=$(Timeline_SRCS) $(FL_SRCS) $(Mixer_SRCS)
  32. OBJS:=$(FL_OBJS) $(Timeline_OBJS) $(Mixer_OBJS)
  33. # FIXME: isn't there a better way?
  34. $(OBJS): make.conf
  35. TAGS: $(SRCS)
  36. etags $(SRCS)
  37. .deps: make.conf $(SRCS)
  38. @ echo -n Calculating dependencies...
  39. @ makedepend -f- -- $(CXXFLAGS) -I. -IFL -ITimeline -IMixer -- $(SRCS) > .deps 2>/dev/null && echo $(DONE)
  40. depend: .deps
  41. .PHONEY: clean config depend
  42. clean: FL_clean Timeline_clean Mixer_clean
  43. -include makedepend