diff --git a/Makefile b/Makefile index deeefd0..b48ba76 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ INCLUDEDIR := $(PREFIX)/include CC := cc AR := ar RANLIB := ranlib -CFLAGS := +CFLAGS := -O2 -Wall -Wextra -Wshadow -ansi -pedantic -std=c99 LDFLAGS := Q := @ diff --git a/project.zsh b/project.zsh index 0a4e283..4955944 100644 --- a/project.zsh +++ b/project.zsh @@ -2,6 +2,8 @@ package=perfect-os-junk version=0.0.1 +CFLAGS="-O2 -Wall -Wextra -Wshadow -ansi -pedantic -std=c99" + targets=(libposj) type[libposj]=library sources[libposj]="$(echo lib/*.c)"