diff --git a/Makefile.example b/Makefile.example index 183e0e6a..979a1503 100644 --- a/Makefile.example +++ b/Makefile.example @@ -2,6 +2,7 @@ export TOPDIR = /home/stefan/SCC/MetalSVM export ARCH = x86 NAME = metalsvm.bin export LIBNAME = $(TOPDIR)/libmetalsvm.a +export LIBLWIP = $(TOPDIR)/liblwip.a export MAKE = make export ASM = nasm @@ -15,17 +16,17 @@ export RM = rm -rf LD = ld LDFLAGS = -T link.ld -SUBDIRS = lib kernel mm arch #lwip +SUBDIRS = lib kernel mm arch lwip default: $(MAKE) all all: for i in $(SUBDIRS); do $(MAKE) -C $$i all; done - $(LD) $(LDFLAGS) -o $(NAME) $(TOPDIR)/arch/$(ARCH)/kernel/entry.o $(LIBNAME) + $(LD) $(LDFLAGS) -o $(NAME) $(TOPDIR)/arch/$(ARCH)/kernel/entry.o $(LIBNAME) $(LIBLWIP) clean: - $(RM) $(NAME) $(LIBNAME) *~ + $(RM) $(NAME) $(LIBNAME) $(LIBLWIP) *~ for i in $(SUBDIRS); do $(MAKE) -C $$i clean; done depend: