Mercurial > lcfOS
comparison cos/hello/Makefile @ 25:d3c4bf3720a3
Beginning of multitasking
author | windel |
---|---|
date | Tue, 27 Dec 2011 13:31:38 +0100 |
parents | |
children | 3a6a9b929db0 |
comparison
equal
deleted
inserted
replaced
24:d8627924d40d | 25:d3c4bf3720a3 |
---|---|
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 | |
14 hello.bin: hello.o | |
15 ld -T hello.ld -s -o hello.bin hello.o | |
16 | |
17 %.o: %.c | |
18 gcc $(CFLAGS) -o $@ -c $< | |
19 |