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.

26 lines
553B

  1. # -*- mode: makefile; -*-
  2. # always regenerate source list when running under git
  3. FOO := $(shell [ -f .git ] && [ -x `which git` ] && rm -f FL/.sources )
  4. FL/.sources:
  5. @ echo "FL_SRCS=\\" > FL/.sources
  6. @ git ls-files 'FL/*.C' | tr '\n' ' ' >> FL/.sources
  7. @ git ls-files 'FL/*.fl' | tr '\n' ' ' >> FL/.sources
  8. -include FL/.sources
  9. FL_SRCS:=$(FL_SRCS:.fl=.C)
  10. FL_OBJS:=$(FL_SRCS:.C=.o)
  11. all: FL/libfl_widgets.a
  12. FL/libfl_widgets.a: $(FL_OBJS)
  13. @ ar rcs $@ $(FL_OBJS)
  14. .PHONEY: FL
  15. FL: FL/libfl_widgets.a
  16. FL_clean:
  17. rm -f $(FL_OBJS) FL/libfl_widgets.a