fix makefile and gitignore
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,2 @@
|
|||||||
build/
|
build/
|
||||||
main
|
game_of_life
|
||||||
|
|||||||
1
Makefile
1
Makefile
@@ -1,5 +1,6 @@
|
|||||||
CC := gcc
|
CC := gcc
|
||||||
CFLAGS := -Wall -Wextra -g -fsanitize=address,undefined $(shell sdl2-config --cflags)
|
CFLAGS := -Wall -Wextra -g -fsanitize=address,undefined $(shell sdl2-config --cflags)
|
||||||
|
CFLAGS += -O3 -march=native
|
||||||
LDFLAGS := $(shell sdl2-config --libs)
|
LDFLAGS := $(shell sdl2-config --libs)
|
||||||
TARGET := game_of_life
|
TARGET := game_of_life
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user