Makefile 609 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
Gunter Windau's avatar
azmq rm  
Gunter Windau committed
3
4
5
LDFLAGS+=-L$(LSLBASE)/lib -llsl32 -lboost_system -lpthread
LDFLAGS+=-lpigpio
CXX=g++
Your Name's avatar
.    
Your Name committed
6
CC=gcc
Gunter Windau's avatar
azmq rm  
Gunter Windau committed
7
8
9
10
11
12


LDLIBS+=-lzmq -lpthread -lboost_system -lboost_regex  -lboost_program_options
#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
Gunter Windau's avatar
azmq rm  
Gunter Windau committed
14

Your Name's avatar
.    
Your Name committed
15
16
17
pcm_min playsound: LDLIBS+=-lm -lasound
playsound: playsound.c
pcm_min: pcm_min.c
Gunter Windau's avatar
azmq rm  
Gunter Windau committed
18
19
playtone: playtone.cc
zmq_trigger: zmq_trigger.cc
Your Name's avatar
Your Name committed
20
msgqueue_pubsub: msgqueue_pubsub.cc
Your Name's avatar
Your Name committed
21
zmq_trigger_subscriber: zmq_trigger_subscriber.cc