Subversion Repositories HelenOS

Rev

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

Rev 3343 Rev 3593
Line 27... Line 27...
27
#
27
#
28
 
28
 
29
## Setup toolchain
29
## Setup toolchain
30
#
30
#
31
 
31
 
-
 
32
include ../../../Makefile.config
-
 
33
 
32
LIBC_PREFIX = ../../../lib/libc
34
LIBC_PREFIX = ../../../lib/libc
33
LIBFS_PREFIX = ../../../lib/libfs
35
LIBFS_PREFIX = ../../../lib/libfs
-
 
36
LIBBLOCK_PREFIX = ../../../lib/libblock
34
SOFTINT_PREFIX = ../../../lib/softint
37
SOFTINT_PREFIX = ../../../lib/softint
35
include $(LIBC_PREFIX)/Makefile.toolchain
38
include $(LIBC_PREFIX)/Makefile.toolchain
36
 
39
 
37
CFLAGS += -I $(LIBFS_PREFIX)
40
CFLAGS += -I $(LIBFS_PREFIX) -I $(LIBBLOCK_PREFIX)
38
 
41
 
-
 
42
LIBS = \
39
LIBS = $(LIBC_PREFIX)/libc.a $(LIBFS_PREFIX)/libfs.a
43
	$(LIBFS_PREFIX)/libfs.a \
-
 
44
	$(LIBBLOCK_PREFIX)/libblock.a \
-
 
45
	$(LIBC_PREFIX)/libc.a
40
 
46
 
41
## Sources
47
## Sources
42
#
48
#
43
 
49
 
44
OUTPUT = fat
50
OUTPUT = fat
45
SOURCES = \
51
SOURCES = \
46
	fat.c \
52
	fat.c \
47
	fat_ops.c \
53
	fat_ops.c \
48
	fat_idx.c
54
	fat_idx.c \
-
 
55
	fat_dentry.c \
-
 
56
	fat_fat.c
49
 
57
 
50
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
58
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
51
 
59
 
52
.PHONY: all clean depend disasm
60
.PHONY: all clean depend disasm
53
 
61