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.

30 lines
859B

  1. # -*- mode: makefile; -*-
  2. Timeline_VERSION := 0.5.0
  3. # always regenerate source list when running under git
  4. FOO := $(shell [ -f .git ] && [ -x `which git` ] && rm -f FL/.sources )
  5. Timeline/.sources:
  6. @ echo "Timeline_SRCS=\\" > Timeline/.sources
  7. @ git ls-files 'Timeline/*.C' | tr '\n' ' ' >> Timeline/.sources
  8. @ git ls-files 'Timeline/*.fl' | tr '\n' ' ' >> Timeline/.sources
  9. -include Timeline/.sources
  10. Timeline_SRCS += util/debug.C
  11. Timeline_SRCS:=$(Timeline_SRCS:.fl=.C)
  12. Timeline_OBJS:=$(Timeline_SRCS:.C=.o)
  13. Timeline_LIBS := $(FLTK_LIBS) $(JACK_LIBS) $(SNDFILE_LIBS) $(LASH_LIBS)
  14. Timeline/timeline: $(Timeline_OBJS) FL
  15. @ echo -n Linking timeline...
  16. @ $(CXX) $(CXXFLAGS) $(INCLUDES) $(Timeline_LIBS) $(Timeline_OBJS) -o $@ -LFL -lfl_widgets && echo $(DONE)
  17. Timeline: Timeline/timeline
  18. Timeline_clean:
  19. rm -f $(Timeline_OBJS) Timeline/timeline