Makefile 972 Bytes
Newer Older
Gunter Windau's avatar
more    
Gunter Windau committed
1
LSLBASE=../labstreaminglayer/build/install
Your Name's avatar
.    
Your Name committed
2
CPPFLAGS+=-Wall -Wno-sign-compare -I$(LSLBASE)/include
Your Name's avatar
.    
Your Name committed
3
LDFLAGS+=-L$(LSLBASE)/lib
Gunter Windau's avatar
azmq rm  
Gunter Windau committed
4
CXX=g++
Your Name's avatar
.    
Your Name committed
5
CC=gcc
Gunter Windau's avatar
azmq rm  
Gunter Windau committed
6
7


Your Name's avatar
.    
Your Name committed
8
9
LDLIBS+=-lzmq -lboost_program_options -lpigpio -llsl32
#LDLIBS+=-lzmq -lpthread -lboost_system -lboost_regex  -lboost_program_options
Gunter Windau's avatar
azmq rm  
Gunter Windau committed
10
11
12
#INCLUDE+=RS-232
CXXFLAGS+=-Wall -std=c++11

Günter Windau's avatar
Günter Windau committed
13
all: zmq_trigger playtone msgqueue_pubsub msgqueue_xpubxsub zmq_trigger_subscriber playsound lsldertc hwserver hwserver2 hwserver3
14
develop: zmqaudio
Gunter Windau's avatar
azmq rm  
Gunter Windau committed
15

Your Name's avatar
.    
Your Name committed
16
17
18
19
lsldertc: lsldertc.c
hwserver: hwserver.c
hwserver2: hwserver2.c
hwserver3: hwserver3.cc
Your Name's avatar
.    
Your Name committed
20
21
22
pcm_min playsound: LDLIBS+=-lm -lasound
playsound: playsound.c
pcm_min: pcm_min.c
Gunter Windau's avatar
azmq rm  
Gunter Windau committed
23
24
playtone: playtone.cc
zmq_trigger: zmq_trigger.cc
Your Name's avatar
Your Name committed
25
msgqueue_pubsub: msgqueue_pubsub.cc
Günter Windau's avatar
Günter Windau committed
26
msgqueue_xpubxsub: msgqueue_xpubxsub.cc
Your Name's avatar
Your Name committed
27
zmq_trigger_subscriber: zmq_trigger_subscriber.cc
Your Name's avatar
Your Name committed
28
zmqaudio: zmqaudio.cc zmqaudio.h
Your Name's avatar
.    
Your Name committed
29
paex_sine: paex_sine.c
Your Name's avatar
Your Name committed
30
zmqaudio paex_sine: LDLIBS+=-lm -lportaudio
Your Name's avatar
.    
Your Name committed
31
32
sine: sine.cc
sine: LDLIBS+=-lportaudio -lportaudiocpp