]> git.lizzy.rs Git - bspwm.git/commitdiff
Support OPTFLAGS in Makefile
authorBastien Dejean <nihilhill@gmail.com>
Tue, 8 Oct 2013 20:11:41 +0000 (22:11 +0200)
committerBastien Dejean <nihilhill@gmail.com>
Tue, 8 Oct 2013 20:11:41 +0000 (22:11 +0200)
Makefile

index 7065745b44976bc9c405fc44a4da4dd9970c8f12..29b6737ad204fcecba0e95d5976f22e2880ee363 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ include Sourcedeps
 $(WM_OBJ) $(CL_OBJ): Makefile
 
 .c.o:
-       $(CC) $(CFLAGS) -c -o $@ $<
+       $(CC) $(CFLAGS) $(OPTFLAGS) -c -o $@ $<
 
 bspwm: $(WM_OBJ)
        $(CC) -o $@ $(WM_OBJ) $(LDFLAGS) $(LIBS)