# set if the target is an app
TARGET=vfs
LIBS=-lname -lservices -lstdio

L_OBJS=init/init.o fs/fs.o mm/mm.o lib/lib.a 
SUBDIRS=lib mm fs init

export INCLUDE = -I$(shell pwd)/include 
export EXTRA_CFLAGS = -D__KERNEL__ -DVFS_SAWMILL -g

EXTRA_LDFLAGS=-Ttext 0x3010000


world:	all $(TARGET)

all:
	rm -f $(TARGET)
	for i in $(SUBDIRS); do \
		$(MAKE) -C $$i; \
	done;


include $(SMROOT)/Makeconf.$(USER)

