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.

63 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. include scripts/colors
  21. .C.o:
  22. @ echo "Compiling: $(BOLD)$(YELLOW)$<$(SGR0)"
  23. @ $(CXX) $(CXXFLAGS) $(INCLUDES) -c $< -o $@
  24. %.C : %.fl
  25. @ cd `dirname $<` && fluid -c ../$<
  26. DONE := $(BOLD)$(GREEN)done$(SGR0)
  27. include FL/makefile.inc
  28. include Timeline/makefile.inc
  29. include Mixer/makefile.inc
  30. SRCS:=$(Timeline_SRCS) $(FL_SRCS) $(Mixer_SRCS)
  31. OBJS:=$(FL_OBJS) $(Timeline_OBJS) $(Mixer_OBJS)
  32. # FIXME: isn't there a better way?
  33. $(OBJS): make.conf
  34. TAGS: $(SRCS)
  35. etags $(SRCS)
  36. makedepend: make.conf $(SRCS)
  37. @ echo -n Calculating dependencies...
  38. @ makedepend -f- -- $(CXXFLAGS) -I. -IFL -ITimeline -IMixer -- $(SRCS) > makedepend 2>/dev/null && echo $(DONE)
  39. .PHONEY: clean config
  40. clean: FL_clean Timeline_clean Mixer_clean
  41. -include makedepend