mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-03 08:39:49 +02:00
use CXX for g++
This commit is contained in:
parent
5a9c4b15e6
commit
da58cb51a8
2 changed files with 8 additions and 8 deletions
|
@ -1,8 +1,8 @@
|
|||
VERSION = 0.3.1
|
||||
VERSION = 0.3.2
|
||||
TARGET = snapserver
|
||||
SHELL = /bin/bash
|
||||
|
||||
CC = /usr/bin/g++
|
||||
CXX = /usr/bin/g++
|
||||
CFLAGS = -std=c++0x -Wall -Wno-unused-function -O3 -pthread -DVERSION=\"$(VERSION)\" -I..
|
||||
LDFLAGS = -lrt -lboost_system -lboost_program_options -lvorbis -lvorbisenc -logg -lFLAC -lavahi-client -lavahi-common
|
||||
|
||||
|
@ -12,11 +12,11 @@ BIN = snapserver
|
|||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJ)
|
||||
$(CC) $(CFLAGS) -o $(BIN) $(OBJ) $(LDFLAGS)
|
||||
$(CXX) $(CFLAGS) -o $(BIN) $(OBJ) $(LDFLAGS)
|
||||
strip $(BIN)
|
||||
|
||||
%.o: %.cpp
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
$(CXX) $(CFLAGS) -c $< -o $@
|
||||
|
||||
clean:
|
||||
rm -rf $(BIN) $(OBJ) *~
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue