annotate cos/hello/Makefile @ 205:d77cb5962cc5

Added some handcoded arm code generation
author Windel Bouwman
date Sun, 23 Jun 2013 18:23:18 +0200
parents 3a6a9b929db0
children
rev   line source
25
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
1 # vim: set noexpandtab:
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
2
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
3 CFLAGS = -m64 \
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
4 -nostdinc \
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
5 -nostdlib \
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
6 -nostartfiles \
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
7 -mno-red-zone \
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
8 -fno-builtin \
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
9 -mcmodel=large \
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
10 -Wall \
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
11 -Wextra \
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
12 -Werror
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
13
32
3a6a9b929db0 Added initial ramdisk and some virtual file system functions
windel
parents: 25
diff changeset
14 hello.bin: hello.o liblcfos.o
3a6a9b929db0 Added initial ramdisk and some virtual file system functions
windel
parents: 25
diff changeset
15 ld -T hello.ld -s -o hello.bin hello.o liblcfos.o
25
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
16
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
17 %.o: %.c
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
18 gcc $(CFLAGS) -o $@ -c $<
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
19