2010-01-21 01:33:02 +01:00
|
|
|
# -*- mode: makefile; -*-
|
|
|
|
|
|
|
|
all: Session
|
|
|
|
|
|
|
|
Session_SRCS := $(wildcard src/*.C src/*.fl)
|
|
|
|
# Session_SRCS += util/debug.C util/Thread.C util/file.C
|
|
|
|
|
|
|
|
Session_SRCS:=$(Session_SRCS:.fl=.C)
|
|
|
|
Session_SRCS:=$(sort $(Session_SRCS))
|
|
|
|
Session_OBJS:=$(Session_SRCS:.C=.o)
|
|
|
|
|
2012-02-26 02:22:42 +01:00
|
|
|
Session_LIBS := $(LIBLO_LIBS) $(SIGCPP_LIBS)
|
|
|
|
Session_CFLAGS := $(LIBLO_CFLAGS) $(SIGCPP_CFLAGS)
|
2010-01-21 01:33:02 +01:00
|
|
|
|
|
|
|
src/nsmd: src/nsmd.o nonlib/libnonlib.a
|
|
|
|
@ echo -n Linking session handler.
|
|
|
|
@ $(CXX) $(CXXFLAGS) $(Session_LIBS) src/nsmd.o -o $@ -Lnonlib -lnonlib -ldl && echo $(DONE)
|
|
|
|
|
|
|
|
src/session-manager: src/session-manager.o nonlib/libnonlib.a
|
|
|
|
@ echo -n Linking session handler.
|
2012-02-26 02:22:42 +01:00
|
|
|
@ $(CXX) $(CXXFLAGS) $(FLTK_CLFAGS) $(FLTK_LIBS) $(Session_LIBS) src/session-manager.o -o $@ -Lnonlib -lnonlib -ldl && echo $(DONE)
|
2010-01-21 01:33:02 +01:00
|
|
|
|
|
|
|
src/send_osc: src/send_osc.o nonlib/libnonlib.a
|
|
|
|
@ $(CXX) $(CXXFLAGS) $(Session_LIBS) src/send_osc.o -o $@ -Lnonlib -lnonlib -ddl && echo $(DONE)
|
|
|
|
|
|
|
|
Session: src/send_osc src/nsmd src/session-manager
|
|
|
|
|
|
|
|
Session_clean:
|
|
|
|
rm -f $(Session_OBJS) src/nsmd
|