]> git.lizzy.rs Git - bspwm.git/commitdiff
Don't pass the same processor macro multiple times
authorBastien Dejean <nihilhill@gmail.com>
Sat, 5 Jan 2013 11:18:14 +0000 (12:18 +0100)
committerBastien Dejean <nihilhill@gmail.com>
Sat, 5 Jan 2013 11:18:14 +0000 (12:18 +0100)
Makefile

index f7da695ac214af4aca444f405981ea31e0a58436..007cf1094bbe3386f4393953405677823c4625a4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ VERSION = 0.3
 
 CC      = gcc
 LIBS    = -lm -lxcb -lxcb-keysyms -lxcb-icccm -lxcb-ewmh -lxcb-xinerama
-CFLAGS  = -std=c99 -pedantic -Wall -Wextra -DVERSION=\"$(VERSION)\"
+CFLAGS  = -std=c99 -pedantic -Wall -Wextra -D_POSIX_C_SOURCE=2 -DVERSION=\"$(VERSION)\"
 LDFLAGS = $(LIBS)
 
 PREFIX    ?= /usr/local
@@ -31,7 +31,7 @@ options:
 
 .c.o:
        @echo "CC $<"
-       @$(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" -D_POSIX_C_SOURCE="2" -c -o $@ $<
+       @$(CC) $(CFLAGS) -c -o $@ $<
 
 bspwm: $(WM_OBJ)
        @echo CC -o $@