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.

66 lines
1.3KB

  1. # Makefile for the Non-DAW.
  2. # Copyright 2008 Jonathan Moore Liles
  3. # This file is licencesd 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: makedepend FL Timeline Mixer
  9. make.conf: configure
  10. @ ./configure
  11. -include make.conf
  12. ifeq (($MAINTAINER_MODE),yes)
  13. CXXFLAGS := -pipe -ggdb -Wextra -Wno-missing-field-initializers -O0 -fno-rtti -fno-exceptions
  14. else
  15. CXXFLAGS := -pipe -O3 -fno-rtti -fno-exceptions -DNDEBUG
  16. endif
  17. CXXFLAGS += $(LASH_CFLAGS) -DINSTALL_PREFIX=\"$(prefix)\" -DVERSION=\"$(VERSION)\"
  18. include scripts/colors
  19. .C.o:
  20. @ echo -n "Compiling: "; echo $(BOLD)$(YELLOW)$<$(SGR0); true
  21. @ $(CXX) $(CXXFLAGS) $(INCLUDES) -c $< -o $@
  22. %.C : %.fl
  23. @ cd `dirname $<` && fluid -c ../$<
  24. DONE := $(BOLD)$(GREEN)done$(SGR0)
  25. include FL/makefile.inc
  26. include Timeline/makefile.inc
  27. include Mixer/makefile.inc
  28. SRCS:=$(FL_SRCS) $(Timeline_SRCS) $(Mixer_SRCS)
  29. OBJS:=$(FL_OBJS) $(Timeline_OBJS) $(Mixer_OBJS)
  30. # FIXME: isn't there a better way?
  31. $(OBJS): make.conf
  32. TAGS: $(SRCS)
  33. etags $(SRCS)
  34. #makedepend: $(SRCS) Makefile
  35. makedepend: $(SRCS)
  36. @ echo -n Checking dependencies...
  37. @ makedepend -f- -- $(CXXFLAGS) -- $(SRCS) > makedepend 2>/dev/null && echo done.
  38. .PHONEY: clean config
  39. clean: FL_clean Timeline_clean Mixer_clean
  40. config:
  41. # @ rm -f make.conf
  42. @ ./configure
  43. @ $(MAKE) -s
  44. -include makedepend