Support OPTFLAGS in Makefile

This commit is contained in:
Bastien Dejean 2013-10-08 22:11:41 +02:00
parent 15695c066b
commit e66e75d677

View file

@ -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)