Mercurial > lcfOS
annotate cos/hello/Makefile @ 48:a309982ab4d5
Added cool rotate function
author | windel |
---|---|
date | Tue, 27 Mar 2012 18:38:29 +0200 |
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 |