Subversion Repositories Kolibri OS

Rev

Rev 996 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 996 Rev 1066
Line 4... Line 4...
4
INCLUDE = include/
4
INCLUDE = include/
Line 5... Line 5...
5
 
5
 
Line 6... Line 6...
6
DEFS = -DUSE_SMP -DCONFIG_DEBUG
6
DEFS = -DUSE_SMP -DCONFIG_DEBUG
7
 
7
 
Line 8... Line 8...
8
CFLAGS = -c -O2 -DCONFIG_DEBUG -I $(INCLUDE) -fomit-frame-pointer -fno-builtin
8
CFLAGS = -c -O2 $(DEFS) -I $(INCLUDE) -fomit-frame-pointer -fno-builtin-printf
9
LDFLAGS = -shared -s -Map kernel.map --image-base 0x100000 --file-alignment 32 
9
LDFLAGS = -shared -s -Map kernel.map --image-base 0x100000 --file-alignment 32 
10
 
10
 
Line 31... Line 31...
31
 
31
 
32
PE_SRC:=			\
32
PE_SRC:=			\
33
		init.asm		\
33
		init.asm		\
34
		mbi.c			\
-
 
35
		mm.c		\
-
 
36
		slab.c		\
34
		mbi.c			\
-
 
35
		heap.c			\
-
 
36
		slab.c		\
37
		heap.c		\
37
		frame.c			\
38
		pe.c		\
38
		pe.c		\
39
		dll.c		\
39
		dll.c		\
40
		spinlock.c	\
40
		spinlock.c	\
41
		thread.c		\
41
		thread.c		\
Line 68... Line 68...
68
 
68
 
Line 69... Line 69...
69
bin/%.obj : core/%.c $(H_SRC) Makefile
69
bin/%.obj : core/%.c $(H_SRC) Makefile
70
	$(CC) $(CFLAGS) -o $@ $<
70
	$(CC) $(CFLAGS) -o $@ $<
Line -... Line 71...
-
 
71
 
-
 
72
bin/%.obj : gui/%.c $(H_SRC) Makefile
-
 
73
	$(CC) $(CFLAGS) -o $@ $<
71
 
74
 
72
bin/%.obj: core/%.asm Makefile
75
bin/%.obj: core/%.asm Makefile
Line 73... Line 76...
73
	$(FASM) $< $@
76
	$(FASM) $< $@
74
	
77