non/Timeline/makefile.inc

30 lines
859 B
PHP
Raw Normal View History

# -*- mode: makefile; -*-
2008-05-01 10:05:10 +02:00
Timeline_VERSION := 0.5.0
2008-05-27 23:27:19 +02:00
# always regenerate source list when running under git
FOO := $(shell [ -f .git ] && [ -x `which git` ] && rm -f FL/.sources )
Timeline/.sources:
@ echo "Timeline_SRCS=\\" > Timeline/.sources
@ git ls-files 'Timeline/*.C' | tr '\n' ' ' >> Timeline/.sources
@ git ls-files 'Timeline/*.fl' | tr '\n' ' ' >> Timeline/.sources
2008-05-27 23:27:19 +02:00
-include Timeline/.sources
Timeline_SRCS += util/debug.C
2008-05-01 10:05:10 +02:00
Timeline_SRCS:=$(Timeline_SRCS:.fl=.C)
2008-05-01 10:05:10 +02:00
Timeline_OBJS:=$(Timeline_SRCS:.C=.o)
Timeline_LIBS := $(FLTK_LIBS) $(JACK_LIBS) $(SNDFILE_LIBS) $(LASH_LIBS)
2008-05-01 10:05:10 +02:00
Timeline/timeline: $(Timeline_OBJS) FL
2008-05-16 22:52:10 +02:00
@ echo -n Linking timeline...
@ $(CXX) $(CXXFLAGS) $(INCLUDES) $(Timeline_LIBS) $(Timeline_OBJS) -o $@ -LFL -lfl_widgets && echo $(DONE)
2008-05-01 10:05:10 +02:00
Timeline: Timeline/timeline
Timeline_clean:
rm -f $(Timeline_OBJS) Timeline/timeline