summaryrefslogtreecommitdiff
path: root/Source/Kernel/Makefile
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-10-11 16:46:46 +0200
committerAlexis211 <alexis211@gmail.com>2009-10-11 16:46:46 +0200
commit5b9f35ec7509e169f58500b66712eafb075d0b36 (patch)
tree64100c0535b9ad09a63d9900e886da6982818f20 /Source/Kernel/Makefile
parent378518140711bf19a80218711a018e8fd28d3ca7 (diff)
downloadMelon-5b9f35ec7509e169f58500b66712eafb075d0b36.tar.gz
Melon-5b9f35ec7509e169f58500b66712eafb075d0b36.zip
Added a simple random generator
Diffstat (limited to 'Source/Kernel/Makefile')
-rw-r--r--Source/Kernel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Kernel/Makefile b/Source/Kernel/Makefile
index 76bc9eb..9f300bc 100644
--- a/Source/Kernel/Makefile
+++ b/Source/Kernel/Makefile
@@ -5,7 +5,7 @@ CXX = g++
LD = ld
LDFLAGS = -T Link.ld -Map Map.txt --oformat=elf32-i386
CFLAGS = -nostdlib -nostartfiles -nodefaultlibs -fno-builtin -fno-stack-protector -Wall -Wextra -Werror -I .
-CXXFLAGS = -nostartfiles -nostdlib -fno-exceptions -fno-rtti -I . -Wall -Werror -Wno-write-strings -funsigned-char
+CXXFLAGS = -nostartfiles -nostdlib -fno-exceptions -fno-rtti -I . -Wall -Werror -Wno-write-strings -funsigned-char -D THIS_IS_MELON -D RANDOM_SEED=`date +%N`LL
ASM = nasm
ASMFLAGS = -f elf
@@ -45,6 +45,7 @@ Objects = Core/loader.wtf.o \
Library/String.class.o \
Library/ByteArray.class.o \
Library/WChar.class.o \
+ Library/Rand.ns.o \
VFS/Partition.class.o \
VFS/Part.ns.o \
VFS/VFS.ns.o \