Add compile options and change light.c
This commit is contained in:
parent
d0853dd731
commit
4a6d097f9e
2 changed files with 9 additions and 8 deletions
4
Makefile
4
Makefile
|
@ -1,5 +1,7 @@
|
|||
CFLAGS = -lm -ansi -static -s -Ofast -march=native
|
||||
|
||||
light: light.c
|
||||
$(CC) light.c $(CFLAGS) -lm -o light
|
||||
$(CC) light.c $(CFLAGS) -o light
|
||||
|
||||
install: light
|
||||
install light /usr/local/bin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue