summaryrefslogtreecommitdiff
path: root/src/stem/Makefile
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2010-02-03 15:22:30 +0100
committerAlexis211 <alexis211@gmail.com>2010-02-03 15:22:30 +0100
commit9c4310651a91e64c10a17f3190c895a49096aeb1 (patch)
treeaf87d115512249458f80f184d53db403c3f0bb0f /src/stem/Makefile
parent7f72a900c12ba62db12df0872cb66f79a27aa9d9 (diff)
downloadTCE-9c4310651a91e64c10a17f3190c895a49096aeb1.tar.gz
TCE-9c4310651a91e64c10a17f3190c895a49096aeb1.zip
Reogranization
Diffstat (limited to 'src/stem/Makefile')
-rw-r--r--src/stem/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/stem/Makefile b/src/stem/Makefile
index d7af245..db9ba9f 100644
--- a/src/stem/Makefile
+++ b/src/stem/Makefile
@@ -1,6 +1,6 @@
CC = gcc
-CFLAGS = -nostdlib -nostartfiles -nodefaultlibs -fno-builtin -fno-stack-protector -Wall -Wextra
+CFLAGS = -nostdlib -nostartfiles -nodefaultlibs -fno-builtin -fno-stack-protector -Wall -Wextra -I . -I ./lib
LD = ld
LDFLAGS = -T link.ld
@@ -8,11 +8,11 @@ LDFLAGS = -T link.ld
ASM = nasm
AFLAGS = -f elf
-OBJECTS = loader_.o kmain.o sys.o \
- monitor.o timer.o \
- idt.o idt_.o task.o task_.o\
+OBJECTS = core/loader_.o core/kmain.o core/sys.o \
+ core/monitor.o task/timer.o \
+ task/idt.o task/idt_.o task/task.o task/task_.o\
lib/stdlib.o lib/bitset.o \
- mem.o paging.o gdt.o heap.o
+ mem/mem.o mem/paging.o mem/gdt.o mem/heap.o
OUT = stem.elf
all: $(OBJECTS)
@@ -20,8 +20,8 @@ all: $(OBJECTS)
$(LD) $(LDFLAGS) $(OBJECTS) -o $(OUT) -Map stem.map
clean:
- rm *.o || exit 0
rm $(OBJECTS) || exit 0
+ rm *.o */*.o || exit 0
mrproper: clean
rm $(OUT) || exit 0