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.

58 lines
1.6KB

  1. # -*- mode: makefile; -*-
  2. # Makefile for the Non Sequencer.
  3. #
  4. # Do not edit this file; run `make config` instead.
  5. #
  6. VERSION := 1.9.4
  7. PACKAGE := SEQUENCER
  8. BIN_NAME := non-sequencer
  9. all: Sequencer
  10. SRCS := $(wildcard src/*.C src/*.fl src/gui/*.C src/gui/*.fl src/NSM/*.C)
  11. SRCS:=$(SRCS:.fl=.C)
  12. SRCS:=$(sort $(SRCS))
  13. OBJS:=$(SRCS:.C=.o)
  14. CFLAGS += $(CFLAGS) $(CXXFLAGS) $(FLTK_CFLAGS) $(SIGCPP_CFLAGS) $(LIBLO_CFLAGS) $(XPM_CFLAGS)
  15. LIBS += $(FLTK_LDFLAGS) $(JACK_LIBS) $(SIGCPP_LIBS) $(LIBLO_LIBS) $(XPM_LIBS)
  16. Sequencer: src/sequencer
  17. clean:
  18. rm -f src/sequencer .deps $(OBJS)
  19. src/sequencer: $(OBJS) FL/libfl_widgets.a nonlib/libnonlib.a $(FLTK_LIBS)
  20. @ echo -n Linking sequencer...
  21. $(CXX) $(CXXFLAGS) $^ -o $@ $(LIBS) -LFL -lfl_widgets -Lnonlib -lnonlib -ldl && echo $(DONE)
  22. ifeq ($(JACK_MIDI_PROTO_API),yes)
  23. CXXFLAGS+=-DJACK_MIDI_PROTO_API
  24. endif
  25. install: all
  26. @ echo -n "Installing..."
  27. @ install -Dm755 src/sequencer "$(DESTDIR)$(prefix)"/bin/non-sequencer
  28. @ install -d "$(DESTDIR)$(SYSTEM_PATH)/instruments"
  29. @ install -m 644 instruments/* "$(DESTDIR)$(SYSTEM_PATH)/instruments"
  30. @ $(MAKE) -s -C doc install
  31. @ install -d "$(DESTDIR)$(PIXMAP_PATH)"
  32. @ install -m 644 icons/hicolor/256x256/apps/non-sequencer.png "$(DESTDIR)$(PIXMAP_PATH)"/icon-256x256.png
  33. @ install -d "$(DESTDIR)$(ICON_PATH)/hicolor"
  34. @ cp -au icons/hicolor/ "$(DESTDIR)$(ICON_PATH)"
  35. @ install -d "$(DESTDIR)$(DESKTOP_PATH)"
  36. @ sed 's:@BIN_PATH@:$(prefix)/bin:' non-sequencer.desktop.in > "$(DESTDIR)$(DESKTOP_PATH)/non-sequencer.desktop"
  37. @ echo "$(DONE)"
  38. ifneq ($(USE_DEBUG),yes)
  39. @ echo -n "Stripping..."
  40. @ strip "$(DESTDIR)$(prefix)"/bin/non-sequencer
  41. @ echo "$(DONE)"
  42. endif