From 2b59b2c1c2c778c219530fb7a93722207bc86432 Mon Sep 17 00:00:00 2001 From: jean Date: Wed, 13 Jan 1999 15:37:47 +0000 Subject: [PATCH] add file dirwr.c add entry to generate test executables svn path=/trunk/; revision=163 --- reactos/drivers/fs/vfat/makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/reactos/drivers/fs/vfat/makefile b/reactos/drivers/fs/vfat/makefile index dd50bdb7c8e..1b5771a2dd3 100644 --- a/reactos/drivers/fs/vfat/makefile +++ b/reactos/drivers/fs/vfat/makefile @@ -3,12 +3,20 @@ %.o: %.asm $(NASM) $(NFLAGS) $< -o $@ -OBJECTS= blockdev.o iface.o dir.o +OBJECTS= blockdev.o iface.o dir.o dirwr.o all: vfatfsd.o +tests: tstvfat5.bin tstvfat6.bin vfatfsd.o: $(OBJECTS) $(LD) $(OBJECTS) -r -o vfatfsd.o $(NM) --numeric-sort vfatfsd.o > vfatfsd.sym +OBJECTS2 = ../../../apps/common/crt0.o +LIBS= ../../../lib/kernel32/kernel32.a ../../../lib/ntdll/ntdll.a + +%.bin: $(OBJECTS) %.o + $(LD) -Ttext 0x10000 $(OBJECTS2) $*.o $(LIBS) -o $*.exe + $(OBJCOPY) -O binary $*.exe $*.bin + include ../../../rules.mak