From 50025d665025ad349f914599bd07f9cda4ccba7f Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Thu, 26 May 2016 21:53:50 +0200 Subject: [PATCH] tools: CFLAGS /o/ --- Makefile | 2 +- project.zsh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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)"