2008-05-16 22:52:10 +02:00
|
|
|
# -*- mode: makefile; -*-
|
2008-05-01 10:05:10 +02:00
|
|
|
|
2008-05-25 16:34:19 +02:00
|
|
|
Mixer/.sources:
|
|
|
|
@ echo "Mixer_SRCS=\\" > Mixer/.sources
|
|
|
|
@ git ls-files 'Mixer/*.C' | tr '\n' ' ' >> Mixer/.sources
|
|
|
|
@ git ls-files 'Mixer/*.fl' | tr '\n' ' ' >> Mixer/.sources
|
2008-05-01 10:05:10 +02:00
|
|
|
|
2008-05-25 16:34:19 +02:00
|
|
|
include Mixer/.sources
|
|
|
|
|
|
|
|
Mixer_SRCS += util/debug.C
|
|
|
|
|
|
|
|
Mixer_SRCS:=$(Mixer_SRCS:.fl=.C)
|
|
|
|
Mixer_OBJS:=$(Mixer_SRCS:.C=.o)
|
2008-05-01 10:05:10 +02:00
|
|
|
|
|
|
|
Mixer_LIBS := $(FLTK_LIBS)
|
|
|
|
|
|
|
|
INCLUDES := -I.
|
|
|
|
|
|
|
|
Mixer/mixer: $(Mixer_OBJS) FL
|
2008-05-16 22:52:10 +02:00
|
|
|
@ echo -n Linking mixer...
|
|
|
|
@ $(CXX) $(CXXFLAGS) $(Mixer_LIBS) $(Mixer_OBJS) -o $@ -LFL -lfl_widgets && echo $(DONE)
|
2008-05-01 10:05:10 +02:00
|
|
|
|
|
|
|
.PHONEY: Mixer
|
|
|
|
Mixer: Mixer/mixer
|
|
|
|
|
|
|
|
Mixer_clean:
|
|
|
|
rm -f $(Mixer_OBJS) Mixer/mixer
|