Non reinvents the DAW. Powerful enough to form a complete studio, fast and light enough to run on low-end hardware like the eeePC or Raspberry Pi, and so reliable that it can be used live https://non.tuxfamily.org/
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.

75 lines
1.5KB

  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
  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 := -I. -Iutil -IFL
  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. SRCS:=$(Timeline_SRCS) $(FL_SRCS)
  31. OBJS:=$(FL_OBJS) $(Timeline_OBJS)
  32. # FIXME: isn't there a better way?
  33. $(OBJS): make.conf
  34. TAGS: $(SRCS)
  35. etags $(SRCS)
  36. .deps: make.conf $(SRCS)
  37. @ echo -n Calculating dependencies...
  38. @ makedepend -f- -- $(CXXFLAGS) $(INCLUDES) -- $(SRCS) > .deps 2>/dev/null && echo $(DONE)
  39. clean_deps:
  40. @ rm -f .deps
  41. clean_sources:
  42. @ rm -f Timeline/.sources FL/.sources
  43. .sources: Timeline/.sources FL/.sources
  44. rearrange: clean_deps clean_sources
  45. @ $(MAKE) -s .deps
  46. @ $(MAKE) -s .sources
  47. .PHONEY: clean config depend clean_deps clean_sources .sources rearrange
  48. clean: FL_clean Timeline_clean
  49. -include .deps