Refactor code and turn on compiler optimizations
This commit is contained in:
parent
a1727ce4c8
commit
65d12cf3c9
3 changed files with 7 additions and 11 deletions
4
Makefile
4
Makefile
|
|
@ -4,9 +4,9 @@ PREFIX = /usr/local
|
|||
CC = gcc
|
||||
|
||||
dwmblocks: main.o
|
||||
$(CC) main.o -lX11 -o dwmblocks
|
||||
$(CC) main.o -lX11 -Ofast -o dwmblocks
|
||||
main.o: main.c config.h
|
||||
$(CC) -c main.c
|
||||
$(CC) -Ofast -c main.c
|
||||
clean:
|
||||
rm -f *.o *.gch dwmblocks
|
||||
install: dwmblocks
|
||||
|
|
|
|||
Loading…
Reference in a new issue