Mercurial > lcfOS
annotate cos/hello/Makefile @ 179:0f3b1adfd416
LR(0) parser
author | Windel Bouwman |
---|---|
date | Sat, 04 May 2013 18:50:36 +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 |