git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ld-tool portability fix: MacOS build experience
[lunaix-os.git]
/
lunaix-os
/
kernel.mk
diff --git
a/lunaix-os/kernel.mk
b/lunaix-os/kernel.mk
index dff0de2f326750c4bc230fad7c2bbb1b624ae8ab..86f4668910c098fcb70610f4b93a859d5226fb73 100644
(file)
--- a/
lunaix-os/kernel.mk
+++ b/
lunaix-os/kernel.mk
@@
-19,11
+19,11
@@
CFLAGS += $(khdr_opts) $(kinc_opts) $(config_h) -MMD -MP
-include $(ksrc_deps)
-%.S.o: %.S
$(khdr_files)
kernel.mk
+%.S.o: %.S kernel.mk
$(call status_,AS,$<)
@$(CC) $(CFLAGS) -c $< -o $@
-%.c.o: %.c
$(khdr_files)
kernel.mk
+%.c.o: %.c kernel.mk
$(call status_,CC,$<)
@$(CC) $(CFLAGS) -c $< -o $@