Mercurial > hg > Members > anatofuz > CbC_xv6
changeset 48:58ec26c64601
fix_makefile.inc use *.cbc files
author | anatofuz |
---|---|
date | Wed, 13 Mar 2019 11:29:46 +0900 |
parents | 233a68a261fe |
children | c05774dbd65f |
files | src/makefile.inc |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/makefile.inc Thu Mar 07 19:42:27 2019 +0900 +++ b/src/makefile.inc Wed Mar 13 11:29:46 2019 +0900 @@ -44,6 +44,11 @@ $(call quiet-command,$(CC) $(CFLAGS) \ -c -o $@ $<," CC $(TARGET_DIR)$@") +build/%.o: %.cbc + $(call build-directory) + $(call quiet-command,$(CC) $(CFLAGS) \ + -c -o $@ $<," CC $(TARGET_DIR)$@") + AS_WITH = $(call quiet-command,$(CC) $(ASFLAGS) \ $(1) -c -o $@ $<," AS $(TARGET_DIR)$@")