diff --git a/Makefile b/Makefile index 1c6cdc0..2caa0a6 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ VERSION := 0.5.0 -all: makedepend FL Timeline Mixer +all: FL Timeline Mixer make.conf: configure @ ./configure @@ -27,7 +27,7 @@ CXXFLAGS += $(LASH_CFLAGS) -DINSTALL_PREFIX=\"$(prefix)\" -DVERSION=\"$(VERSION) include scripts/colors .C.o: - @ echo -n "Compiling: "; echo $(BOLD)$(YELLOW)$<$(SGR0); true + @ echo "Compiling: $(BOLD)$(YELLOW)$<$(SGR0)" @ $(CXX) $(CXXFLAGS) $(INCLUDES) -c $< -o $@ %.C : %.fl @@ -39,7 +39,7 @@ include FL/makefile.inc include Timeline/makefile.inc include Mixer/makefile.inc -SRCS:=$(FL_SRCS) $(Timeline_SRCS) $(Mixer_SRCS) +SRCS:=$(Timeline_SRCS) $(FL_SRCS) $(Mixer_SRCS) OBJS:=$(FL_OBJS) $(Timeline_OBJS) $(Mixer_OBJS) # FIXME: isn't there a better way? @@ -48,10 +48,9 @@ $(OBJS): make.conf TAGS: $(SRCS) etags $(SRCS) -#makedepend: $(SRCS) Makefile makedepend: $(SRCS) @ echo -n Checking dependencies... - @ makedepend -f- -- $(CXXFLAGS) -- $(SRCS) > makedepend 2>/dev/null && echo done. + @ makedepend -f- -- $(CXXFLAGS) -I. -IFL -ITimeline -IMixer -- $(SRCS) > makedepend 2>/dev/null && echo $(DONE) .PHONEY: clean config diff --git a/Timeline/makefile.inc b/Timeline/makefile.inc index 7283015..ab30abe 100644 --- a/Timeline/makefile.inc +++ b/Timeline/makefile.inc @@ -36,7 +36,7 @@ Timeline/Transport.C \ Timeline/Waveform.C \ Timeline/dsp.C \ Timeline/main.C \ -debug.C +debug.C \ Timeline_OBJS:=$(Timeline_SRCS:.C=.o) @@ -53,8 +53,3 @@ Timeline: Timeline/timeline Timeline_clean: rm -f $(Timeline_OBJS) Timeline/timeline - -# valgrind: -# valgrind ./timeline - -# include makedepend