2009-12-25 01:59:39 +01:00
|
|
|
# -*- mode: makefile; -*-
|
|
|
|
|
|
|
|
all: Mixer
|
|
|
|
|
2010-02-01 07:25:16 +01:00
|
|
|
Mixer_SRCS := $(wildcard src/*.C src/*.fl src/Engine/*.C)
|
2009-12-25 01:59:39 +01:00
|
|
|
|
|
|
|
Mixer_SRCS:=$(Mixer_SRCS:.fl=.C)
|
|
|
|
Mixer_SRCS:=$(sort $(Mixer_SRCS))
|
|
|
|
Mixer_OBJS:=$(Mixer_SRCS:.C=.o)
|
|
|
|
|
2010-01-21 01:33:02 +01:00
|
|
|
Mixer_LIBS := $(FLTK_LIBS) $(JACK_LIBS) $(LASH_LIBS) $(LRDF_LIBS) $(LIBLO_LIBS)
|
2009-12-25 01:59:39 +01:00
|
|
|
|
2010-02-01 07:50:23 +01:00
|
|
|
src/mixer: $(Mixer_OBJS) FL/libfl_widgets.a nonlib/libnonlib.a
|
2009-12-25 01:59:39 +01:00
|
|
|
@ echo -n Linking mixer...
|
2011-05-31 06:07:33 +02:00
|
|
|
@ $(CXX) $(CXXFLAGS) $(Mixer_LIBS) $(Mixer_OBJS) -o $@ -LFL -lfl_widgets -Lnonlib -lnonlib -ldl && echo $(DONE)
|
2009-12-25 01:59:39 +01:00
|
|
|
|
2010-02-01 07:25:16 +01:00
|
|
|
Mixer: src/mixer
|
2009-12-25 01:59:39 +01:00
|
|
|
|
|
|
|
Mixer_clean:
|
2010-02-01 07:25:16 +01:00
|
|
|
rm -f $(Mixer_OBJS) src/mixer
|