blob: 5d6e343a8f37a1522edca32214ab4d181b6b5fb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- a/extras/Makefile
+++ b/extras/Makefile
@@ -1,7 +1,7 @@
-CXX=g++
-CXXFLAGS=-O2 -march=native -pipe -std=c++0x -Wall -Wextra -Wshadow -Werror
-CPPFLAGS=`taglib-config --cflags`
-LDFLAGS=`taglib-config --libs`
+CXX := g++
+CXXFLAGS += -std=c++0x -Wall -Wextra -Wshadow
+CPPFLAGS += $(shell taglib-config --cflags)
+LDFLAGS += $(shell taglib-config --libs)
artist_to_albumartist: artist_to_albumartist.cpp
$(CXX) artist_to_albumartist.cpp -o artist_to_albumartist $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)
|