Makefile 854 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

Your Name's avatar
.    
Your Name committed
13
all: zmq_trigger playtone msgqueue_pubsub zmq_trigger_subscriber playsound lsldertc hwserver hwserver2 hwserver3
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
Your Name's avatar
.    
Your Name committed
19
20
21
pcm_min playsound: LDLIBS+=-lm -lasound
playsound: playsound.c
pcm_min: pcm_min.c
Gunter Windau's avatar
azmq rm  
Gunter Windau committed
22
23
playtone: playtone.cc
zmq_trigger: zmq_trigger.cc
Your Name's avatar
Your Name committed
24
msgqueue_pubsub: msgqueue_pubsub.cc
Your Name's avatar
Your Name committed
25
zmq_trigger_subscriber: zmq_trigger_subscriber.cc
Your Name's avatar
.    
Your Name committed
26
27
28
29
paex_sine: paex_sine.c
paex_sine: LDLIBS+=-lm -lportaudio
sine: sine.cc
sine: LDLIBS+=-lportaudio -lportaudiocpp