-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (16 loc) · 783 Bytes
/
Makefile
File metadata and controls
24 lines (16 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CXX=g++
all: readdial
LANG=C
#BOOST=-lboost_thread
#CXXFLAGS=-static
#CXXFLAGS=-O3
#CXXFLAGS=-Wno-unused-local-typedefs -Wno-deprecated-copy
#LFLAGS=$(firstword $(wildcard $(HOME)/svn/REPMDPS/trunk/tests/libs_mdps/externals/vwd/bin_Linux*/vwd/libvwd.a)) -lboost_system
LFLAGS=
main.o: main.cxx soundcard2c.h soundcard_indicator.h indicator.h clocktime.h format.h stringutil.h banner.h
%.s: %.cxx Makefile
$(CXX) -Wsign-promo -mcx16 -Wall -Wextra -g3 -ggdb3 -std=gnu++2a -pthread -I. $(CXXFLAGS) $< $(BOOST) -lpthread -lrt -ldl $(LFLAGS) -o $@ -S
%.o: %.cxx Makefile
$(CXX) -Wsign-promo -mcx16 -Wall -Wextra -g3 -ggdb3 -std=gnu++2a -pthread -I. $(CXXFLAGS) -c $< $(BOOST) -o $@
readdial: main.o
$(CXX) -lportaudio -lpthread -lboost_thread -lboost_program_options $< -o $@