mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
add file dirwr.c
add entry to generate test executables svn path=/trunk/; revision=163
This commit is contained in:
parent
3c80407d9b
commit
2b59b2c1c2
1 changed files with 9 additions and 1 deletions
|
@ -3,12 +3,20 @@
|
||||||
%.o: %.asm
|
%.o: %.asm
|
||||||
$(NASM) $(NFLAGS) $< -o $@
|
$(NASM) $(NFLAGS) $< -o $@
|
||||||
|
|
||||||
OBJECTS= blockdev.o iface.o dir.o
|
OBJECTS= blockdev.o iface.o dir.o dirwr.o
|
||||||
|
|
||||||
all: vfatfsd.o
|
all: vfatfsd.o
|
||||||
|
tests: tstvfat5.bin tstvfat6.bin
|
||||||
|
|
||||||
vfatfsd.o: $(OBJECTS)
|
vfatfsd.o: $(OBJECTS)
|
||||||
$(LD) $(OBJECTS) -r -o vfatfsd.o
|
$(LD) $(OBJECTS) -r -o vfatfsd.o
|
||||||
$(NM) --numeric-sort vfatfsd.o > vfatfsd.sym
|
$(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
|
include ../../../rules.mak
|
||||||
|
|
Loading…
Reference in a new issue