Added Option for Optimisation
This commit is contained in:
parent
d932a248c3
commit
372af63728
3
Makefile
3
Makefile
@ -1,6 +1,7 @@
|
|||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
|
|
||||||
CC=gcc
|
CC=gcc
|
||||||
|
O=2
|
||||||
CFLAGS=-lcsfml-window -lcsfml-system -lcsfml-graphics
|
CFLAGS=-lcsfml-window -lcsfml-system -lcsfml-graphics
|
||||||
PREFIX=$(HOME)/.local
|
PREFIX=$(HOME)/.local
|
||||||
|
|
||||||
@ -12,7 +13,7 @@ clean:
|
|||||||
|
|
||||||
ls7emulator:
|
ls7emulator:
|
||||||
cd src
|
cd src
|
||||||
$(CC) main.c -o ls7emulator $(CFLAGS) -O2
|
$(CC) main.c -o ls7emulator $(CFLAGS) -O$(O)
|
||||||
|
|
||||||
rm ../bin -rf
|
rm ../bin -rf
|
||||||
mkdir ../bin
|
mkdir ../bin
|
||||||
|
Loading…
Reference in New Issue
Block a user