mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-13 17:16:42 +02:00
x
git-svn-id: svn://elaine/murooma/trunk@174 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
6d29618701
commit
c6896b46ea
7 changed files with 25 additions and 0 deletions
25
server/Makefile
Normal file
25
server/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
VERSION = 0.01
|
||||
CC = /usr/bin/g++
|
||||
CFLAGS = -std=gnu++0x -Wall -Wno-unused-function -g -O3 -D_REENTRANT -DVERSION=\"$(VERSION)\"
|
||||
LDFLAGS = -lrt -lpthread -lportaudio -lboost_system
|
||||
|
||||
OBJ_SERVER = blocking_tcp_echo_server.o
|
||||
BIN_SERVER = server
|
||||
OBJ_CLIENT = client.o stream.o chunk.o
|
||||
BIN_CLIENT = client
|
||||
OBJ = $(OBJ_SERVER) $(OBJ_CLIENT)
|
||||
|
||||
all: server client
|
||||
|
||||
server: $(OBJ)
|
||||
$(CC) $(CFLAGS) -o $(BIN_SERVER) $(OBJ_SERVER) $(LDFLAGS)
|
||||
|
||||
client: $(OBJ)
|
||||
$(CC) $(CFLAGS) -o $(BIN_CLIENT) $(OBJ_CLIENT) $(LDFLAGS)
|
||||
|
||||
%.o: %.cpp
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
clean:
|
||||
rm -rf $(BIN_SERVER) $(BIN_CLIENT) $(OBJ) $(OBJ_SERVER) $(OBJ_CLIENT)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue