From 8e6cc7c86784cb27a2320c59a2e99c74f1b30220 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 16 Feb 2011 10:23:31 +0000 Subject: [PATCH] - remove typo git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@411 315a16e6-25f9-4109-90ae-ca3045a26c18 --- newlib/Makefile | 1 + newlib/examples/Makefile | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/newlib/Makefile b/newlib/Makefile index 96769d70..9d14a691 100644 --- a/newlib/Makefile +++ b/newlib/Makefile @@ -31,6 +31,7 @@ endif default: $(ARCH) + $(MAKE) -C examples depend $(MAKE) -C examples $(ARCH): diff --git a/newlib/examples/Makefile b/newlib/examples/Makefile index 937deb3a..a18d6b33 100644 --- a/newlib/examples/Makefile +++ b/newlib/examples/Makefile @@ -2,8 +2,8 @@ ARCH = x86 NEWLIB = ../x86/i586-metalsvm-elf32 MAKE = make CC = gcc -CFLAGS = -m32 -O2 -nostdinc -Wall -fno-builtin -I$(NEWLIB)/include -I../../include -I../../arch/$(ARCH)/include -fno-stack-protector -LDFLGAS = -m32 -nostdlib -L$(NEWLIB)/lib +CFLAGS = -m32 -O2 -nostdinc -Wall -fno-builtin -I$(NEWLIB)/include -I../../include -I../../arch/$(ARCH)/include #-fno-stack-protector +LDFLAGS = -m32 -nostdlib -L$(NEWLIB)/lib # other implicit rules %.o : %.c @@ -16,7 +16,7 @@ all: $(MAKE) hello hello: hello.o - $(CC) -T link.ld -o $@ $(LDFLGAS) $< + $(CC) -T link.ld -o $@ $(LDFLAGS) $< clean: $(RM) *.o *~