mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
add file dirwr.c
add entry to generate test executables svn path=/trunk/; revision=163
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user