# Makefile for the Non-DAW. # Copyright 2008 Jonathan Moore Liles # This file is licencesd under version 2 of the GPL. # # Do not edit this file; run `make config` instead. # include scripts/colors VERSION := 0.5.0 all: make.conf makedepend FL Timeline Mixer make.conf: configure @ ./configure include make.conf ifeq (($MAINTAINER_MODE),yes) CXXFLAGS := -ggdb -Wextra -Wno-missing-field-initializers -O0 -fno-rtti -fno-exceptions else CXXFLAGS := -O3 -fno-rtti -fno-exceptions -DNDEBUG endif CXXFLAGS += $(LASH_CFLAGS) -DINSTALL_PREFIX=\"$(prefix)\" -DVERSION=\"$(VERSION)\" .C.o: @ echo -n "Compiling: "; echo $(BOLD)$(YELLOW)$<$(SGR0); true @ $(CXX) $(CXXFLAGS) $(INCLUDES) -c $< -o $@ %.C : %.fl @ cd `dirname $<` && fluid -c ../$< include FL/makefile.inc include Timeline/makefile.inc include Mixer/makefile.inc SRCS:=$(FL_SRCS) $(Timeline_SRCS) $(Mixer_SRCS) TAGS: $(SRCS) etags $(SRCS) makedepend: $(SRCS) Makefile @ echo -n Checking dependencies... @ makedepend -f- -- $(CXXFLAGS) -- $(SRCS) > makedepend 2>/dev/null && echo done. .PHONEY: clean config clean: FL_clean Timeline_clean Mixer_clean config: @ rm -f make.conf @ $(MAKE) -s include makedepend