Subversion Repositories HelenOS

Rev

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

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