Mercurial > lcfOS
annotate cos/hello/Makefile @ 38:a1c9c2158e99
Directory cleanup
author | windel |
---|---|
date | Fri, 03 Feb 2012 18:38:44 +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 |