- remove typo
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@411 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
parent
be0c7fa78b
commit
8e6cc7c867
2 changed files with 4 additions and 3 deletions
|
@ -31,6 +31,7 @@ endif
|
|||
|
||||
|
||||
default: $(ARCH)
|
||||
$(MAKE) -C examples depend
|
||||
$(MAKE) -C examples
|
||||
|
||||
$(ARCH):
|
||||
|
|
|
@ -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 *~
|
||||
|
|
Loading…
Add table
Reference in a new issue