Mercurial > lcfOS
annotate cos/hello/Makefile @ 222:c3f1ce8b638f
Fixup of parser
author | Windel Bouwman |
---|---|
date | Tue, 09 Jul 2013 17:36:31 +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 |