projects
/
eightysix
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
foo
[eightysix]
/
kern
/
Makefile
diff --git
a/kern/Makefile
b/kern/Makefile
index
f4ff034
..
717025f
100644
(file)
--- a/
kern/Makefile
+++ b/
kern/Makefile
@@
-12,7
+12,10
@@
img = 86kern.img
CC = ia16-elf-gcc
LD = ia16-elf-ld
-CFLAGS = -march=i8088 -mtune=i8088 -MMD
+warn = -pedantic -Wall
+inc = -nostdinc -Isrc -Isrc/libc
+
+CFLAGS = -march=i8088 -mtune=i8088 $(warn) $(inc) -MMD
LDFLAGS = -T kern.ld -Map kern.map
$(img): $(bin)