2008-05-05 02:56:07 +02:00
|
|
|
# -*- mode: makefile; -*-
|
2008-05-01 10:05:10 +02:00
|
|
|
|
2009-12-25 01:57:34 +01:00
|
|
|
all: Timeline
|
|
|
|
|
2008-05-03 06:44:48 +02:00
|
|
|
Timeline_VERSION := 0.5.0
|
|
|
|
|
2010-02-01 07:25:16 +01:00
|
|
|
Timeline_SRCS := $(wildcard src/*.C src/*.fl src/Engine/*.C)
|
2008-05-01 10:05:10 +02:00
|
|
|
|
2008-05-25 16:34:19 +02:00
|
|
|
Timeline_SRCS:=$(Timeline_SRCS:.fl=.C)
|
2008-05-28 05:39:42 +02:00
|
|
|
Timeline_SRCS:=$(sort $(Timeline_SRCS))
|
2008-05-01 10:05:10 +02:00
|
|
|
Timeline_OBJS:=$(Timeline_SRCS:.C=.o)
|
|
|
|
|
2012-02-26 02:22:42 +01:00
|
|
|
Timeline_LIBS := $(FLTK_LIBS) $(JACK_LIBS) $(SNDFILE_LIBS) $(LIBLO_LIBS) $(SIGCPP_LIBS)
|
|
|
|
|
|
|
|
Timeline_CFLAGS := $(SNDFILE_CFLAGS) $(FLTK_CFLAGS) $(JACK_CFLAGS) $(SIGCPP_CFLAGS)
|
2008-05-01 10:05:10 +02:00
|
|
|
|
2010-02-01 07:50:23 +01:00
|
|
|
src/timeline: $(Timeline_OBJS) FL/libfl_widgets.a nonlib/libnonlib.a
|
2008-05-16 22:52:10 +02:00
|
|
|
@ echo -n Linking timeline...
|
2009-12-25 01:57:34 +01:00
|
|
|
@ $(CXX) $(CXXFLAGS) $(INCLUDES) $(Timeline_LIBS) $(Timeline_OBJS) -o $@ -LFL -lfl_widgets -Lnonlib -lnonlib && echo $(DONE)
|
2008-05-01 10:05:10 +02:00
|
|
|
|
2010-02-01 07:25:16 +01:00
|
|
|
Timeline: src/timeline
|
2008-05-01 10:05:10 +02:00
|
|
|
|
|
|
|
Timeline_clean:
|
|
|
|
rm -f $(Timeline_OBJS) Timeline/timeline
|