📄 makefile
字号:
PATH_SYS = d:
DEB_ASM = -debug
INCL = $(PATH_SYS)/hstone/lib/include
DEB_C = -g
INC = ata.h boot.h dir.h part.h hybios.h hy_dos.h fat.h part.h
CC = hyc -c -O -D__RPC__ $(DEB_C) -I$(INCL) -DFAT_OPT
#CC = hyc -c -O -D__RPC__ $(DEB_C) -I$(INCL)
LIB = $(PATH_SYS)/hstone/lib/crtl.lib
cftest.hye: cftest.o hy_os.o root.o hydir.o findfile.o \
ide_disk.o idedebug.o f12to16.obj ioctrl.o cftest.lnk
hylink -map @cftest.lnk
hydebug cftest
#
#
#
hy_os.o: hy_os.c $(INC)
$(CC) hy_os.c
root.o: root.c $(INC)
$(CC) root.c
hydir.o: hydir.c $(INC)
$(CC) hydir.c
findfile.o: findfile.c $(INC)
$(CC) findfile.c
#ide_disk.s: ide_disk.c $(INC)
## hyc -S -O -D__RPC__ -I$(INCL) ide_disk.c -fno-inline-functions
# hymasm ide_disk.s -o ide_disk.o
ide_disk.o: ide_disk.c $(INC)
$(CC) -D__DSC_CFA__ ide_disk.c -fno-inline-functions
# $(CC) ide_disk.c
idedebug.o: idedebug.c $(INC)
$(CC) idedebug.c
f12to16.obj: f12to16.asm
hymasm -debug f12to16.asm
cftest.o:
$(CC) -D__DSC_CFA__ cftest.c
ioctrl.o:
$(CC) -D__DSC_CFA__ ioctrl.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -