summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-07-13 09:06:53 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-07-13 09:06:53 +0200
commited869aa3867d134fb37f586f1db029006677cebb (patch)
treea34cb31b0359d98e0be8a1269535f8f660c7db68 /src/Makefile
parent08487fb5bfd7f5e1d9564d4132d38592d2dd0cc2 (diff)
downloadabaos-ed869aa3867d134fb37f586f1db029006677cebb.tar.gz
abaos-ed869aa3867d134fb37f586f1db029006677cebb.tar.bz2
separated C library implementations with an OS_ABAOS define (for now),
we cannot test stdio and memory management in the hosted environment yet this way
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 7b173cd..4192fd1 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,5 +1,5 @@
CC := gcc
-INCLUDES = -I. -Ilibc -Ihardware -Idrivers -Idrivers/hdi -Idrivers/hdi/ps2 -Idrivers/video -Ikernel -Igui
+INCLUDES = -DOS_ABAOS -I. -Ilibc -Ihardware -Idrivers -Idrivers/hdi -Idrivers/hdi/ps2 -Idrivers/video -Ikernel -Igui
CFLAGS := -std=c99 -m32 -march=i486 -ffreestanding -O0 -g -Werror $(INCLUDES)
LD := ld
NASMFLAGS := -f elf32