aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-01-01 22:49:04 -0500
committerDave Reisner <dreisner@archlinux.org>2013-01-01 22:49:04 -0500
commitfa689e0995b6c31f2cf529916399c4d9db299495 (patch)
treec76ae6c75b6467242a86008c31d975377bbc34e5 /Makefile
parenta6d5dd764d5b30ebf90af523986452d34834d7bd (diff)
downloadmirror-ponymix-fa689e0995b6c31f2cf529916399c4d9db299495.tar.gz
mirror-ponymix-fa689e0995b6c31f2cf529916399c4d9db299495.tar.bz2
mirror-ponymix-fa689e0995b6c31f2cf529916399c4d9db299495.zip
makefile: CFLAGS -> CXXFLAGS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e6cb6ca..b41b05c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,19 @@
CXX = g++ -std=c++11
-base_CFLAGS = -Wall -Wextra -pedantic -O2 -g
+base_CXXFLAGS = -Wall -Wextra -pedantic -O2 -g
base_LIBS = -lm
-libpulse_CFLAGS = $(shell pkg-config --cflags libpulse)
+libpulse_CXXFLAGS = $(shell pkg-config --cflags libpulse)
libpulse_LIBS = $(shell pkg-config --libs libpulse)
-CXXFLAGS := $(base_CFLAGS) $(libpulse_CFLAGS) $(CXXFLAGS)
-LDLIBS := $(base_LIBS) $(libpulse_LIBS)
+CXXFLAGS := \
+ $(base_CXXFLAGS) \
+ $(libpulse_CXXFLAGS) \
+ $(CXXFLAGS)
+
+LDLIBS := \
+ $(base_LIBS) \
+ $(libpulse_LIBS)
all: ponymix