diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-15 17:50:59 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-15 17:50:59 +0200 |
commit | 91cc9a11a5b3d5e48304252e29e4168fad033a38 (patch) | |
tree | eee3538486c6bf7b15ad328a4670a0d42b545e22 /src/Makefile | |
parent | 733b2d0fc42361f9a32315bb6e656b115d8c7c0f (diff) | |
download | abaos-91cc9a11a5b3d5e48304252e29e4168fad033a38.tar.gz abaos-91cc9a11a5b3d5e48304252e29e4168fad033a38.tar.bz2 |
added an OPT parameter to the build makefile, default is -O0
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 75d6948..b7321c3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,7 +1,8 @@ CC := gcc DEFINES = -DOS_ABAOS +OPT := -O0 INCLUDES = -I. -Ilibc -Ihardware -Idrivers -Idrivers/hdi -Idrivers/hdi/ps2 -Idrivers/video -Ikernel -Igui -CFLAGS := -std=c99 -m32 -march=i486 -ffreestanding -O0 -g -Werror $(INCLUDES) $(DEFINES) +CFLAGS := -std=c99 -m32 -march=i486 -ffreestanding $(OPT) -g -Werror $(INCLUDES) $(DEFINES) LD := ld LDFLAGS := -lgcc NASMFLAGS := -f elf32 |