mirror of
				https://github.com/FDOS/kernel.git
				synced 2025-10-31 03:14:40 +01:00 
			
		
		
		
	git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1027 6ac86273-5f31-0410-b378-82cca8765d1b
		
			
				
	
	
		
			38 lines
		
	
	
		
			849 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			849 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| #
 | |
| # makefile for DOS-C boot
 | |
| #
 | |
| # $Id$
 | |
| #
 | |
| 
 | |
| !include "../mkfiles/generic.mak"
 | |
| 
 | |
| ########################################################################
 | |
| 
 | |
| all:		fat12.bin fat16.bin fat32chs.bin fat32lba.bin oemfat12.bin oemfat16.bin
 | |
| 
 | |
| fat12.bin:	boot.asm $(DEPENDS)
 | |
| 		$(NASM) -DISFAT12 boot.asm -o$*.bin
 | |
| 
 | |
| fat16.bin:	boot.asm $(DEPENDS)
 | |
| 		$(NASM) -DISFAT16 boot.asm -o$*.bin
 | |
| 
 | |
| fat32chs.bin:	boot32.asm $(DEPENDS)
 | |
| 		$(NASM) boot32.asm -o$*.bin
 | |
| 
 | |
| fat32lba.bin:	boot32lb.asm $(DEPENDS)
 | |
| 		$(NASM) boot32lb.asm -o$*.bin
 | |
| 
 | |
| oemfat12.bin:	oemboot.asm $(DEPENDS)
 | |
| 		$(NASM) -DISFAT12 oemboot.asm -o$*.bin
 | |
| 
 | |
| oemfat16.bin:	oemboot.asm $(DEPENDS)
 | |
| 		$(NASM) -DISFAT16 oemboot.asm -o$*.bin
 | |
| 
 | |
| ########################################################################
 | |
| 
 | |
| clean:
 | |
| 		-$(RM) *.bak *.cod *.crf *.err *.las *.lst *.map *.obj *.xrf
 | |
| 
 | |
| clobber:	clean
 | |
| 		-$(RM) *.bin status.me
 |