non/mixer/makefile.inc

23 lines
641 B
PHP
Raw Normal View History

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)
2012-02-26 02:22:42 +01:00
Mixer_LIBS := $(FLTK_LIBS) $(JACK_LIBS) $(LASH_LIBS) $(LRDF_LIBS) $(LIBLO_LIBS) $(SIGCPP_LIBS)
Mixer_CFLAGS := $(FLTK_CFLAGS) $(JACK_CFLAGS) $(LIBLO_CFLAGS) $(SIGCPP_CFLAGS)
2009-12-25 01:59:39 +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