Makefile 1.01 KB
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

Your Name's avatar
Your Name committed
13
all: zmq_trigger playtone msgqueue_pubsub lsldert_proxy zmq_trigger_subscriber playsound lsldertc hwserver hwserver2 hwserver3 zmqaudio
Gunter Windau's avatar
azmq rm  
Gunter Windau committed
14

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