non/Makefile

41 lines
1013 B
Makefile
Raw Normal View History

2008-02-14 06:47:12 +01:00
prefix := /usr/local
2008-05-05 00:20:38 +02:00
VERSION := 0.5.0
FLTK_LIBS := `fltk-config --use-images --ldflags`
2008-05-15 02:48:46 +02:00
JACK_LIBS := `pkg-config --libs jack`
SNDFILE_LIBS := `pkg-config --libs sndfile`
LASH_LIBS := `pkg-config --libs lash-1.0`
LASH_CFLAGS := `pkg-config --cflags lash-1.0`
2008-05-01 10:05:10 +02:00
CXXFLAGS := $(LASH_CFLAGS) -DINSTALL_PREFIX=\"$(prefix)\" -DVERSION=\"$(VERSION)\" -ggdb -Wextra -Wno-missing-field-initializers -O0 -fno-rtti -fno-exceptions
2008-02-14 06:47:12 +01:00
2008-05-01 10:05:10 +02:00
all: makedepend FL Timeline Mixer
.C.o:
@ echo -n "Compiling: "; tput bold; tput setaf 3; echo $<; tput sgr0; true
@ $(CXX) $(CXXFLAGS) $(INCLUDES) -c $< -o $@
%.C : %.fl
2008-05-05 07:42:26 +02:00
@ cd `dirname $<` && fluid -c ../$<
2008-05-01 10:05:10 +02:00
include FL/makefile.inc
include Timeline/makefile.inc
include Mixer/makefile.inc
SRCS:=$(FL_SRCS) $(Timeline_SRCS) $(Mixer_SRCS)
TAGS: $(SRCS)
etags $(SRCS)
2008-05-05 07:42:26 +02:00
makedepend: $(SRCS) Makefile
2008-05-01 10:05:10 +02:00
@ echo -n Checking dependencies...
@ makedepend -f- -- $(CXXFLAGS) -- $(SRCS) > makedepend 2>/dev/null && echo done.
clean: FL_clean Timeline_clean Mixer_clean
2008-03-20 08:18:59 +01:00
2008-05-01 10:05:10 +02:00
include makedepend