Mercurial > lcfOS
annotate cos/hello/Makefile @ 298:f7c3d38d0a47
Added reference to read the docs
author | Windel Bouwman |
---|---|
date | Sun, 01 Dec 2013 17:45:22 +0100 |
parents | 3a6a9b929db0 |
children |
rev | line source |
---|---|
25 | 1 # vim: set noexpandtab: |
2 | |
3 CFLAGS = -m64 \ | |
4 -nostdinc \ | |
5 -nostdlib \ | |
6 -nostartfiles \ | |
7 -mno-red-zone \ | |
8 -fno-builtin \ | |
9 -mcmodel=large \ | |
10 -Wall \ | |
11 -Wextra \ | |
12 -Werror | |
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 | 16 |
17 %.o: %.c | |
18 gcc $(CFLAGS) -o $@ -c $< | |
19 |