makefile

来自「GNU FreeDOS兼容MS DOS很好的东东.」· 代码 · 共 61 行

TXT
61
字号
## makefile for bin2c.com and sys.com## $Id: makefile,v 1.10 2004/01/25 21:44:13 bartoldeman Exp $#!include "../mkfiles/generic.mak"CFLAGS = -I$(INCLUDEPATH) -I..\hdr -DFORSYS -DWITHFAT32 $(CFLAGST)NASMFLAGS = -DSYS=1#		*List Macros*SYS_EXE_dependencies =  \ sys.obj \ fdkrncfg.obj \ prf.obj \ talloc.obj#		*Explicit Rules*production:     bin2c.com ..\bin\sys.combin2c.com:      bin2c.c		$(CL) $(CFLAGS) $(TINY) bin2c.c..\bin\sys.com: sys.com		copy sys.com ..\binfat12com.h:	..\boot\fat12com.bin bin2c.com		.\bin2c ..\boot\fat12com.bin fat12com.h fat12comfat16com.h:	..\boot\fat16com.bin bin2c.com		.\bin2c ..\boot\fat16com.bin fat16com.h fat16comfat32chs.h:	..\boot\fat32chs.bin bin2c.com		.\bin2c ..\boot\fat32chs.bin fat32chs.h fat32chsfat32lba.h:	..\boot\fat32lba.bin bin2c.com		.\bin2c ..\boot\fat32lba.bin fat32lba.h fat32lbaprf.obj:	..\kernel\prf.c		$(CC) $(CFLAGS) ..\kernel\prf.cfdkrncfg.obj:   fdkrncfg.c ..\hdr\kconfig.htalloc.obj:     talloc.csys.com:        $(SYS_EXE_dependencies)		$(CL) $(CFLAGST) $(TINY) $(SYS_EXE_dependencies)clobber:	clean		-$(RM) bin2c.com sys.com fat*.hclean:		-$(RM) *.obj *.bak *.crf *.xrf *.map *.lst *.las *.cod *.err status.me#		*Individual File Dependencies*sys.obj: sys.c ..\hdr\portab.h ..\hdr\device.h fat12com.h fat16com.h fat32chs.h fat32lba.h		$(CC) $(CFLAGS) $*.c

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?