add debug info to nasm debug builds

This commit is contained in:
Josh Coalson
2007-03-30 01:00:30 +00:00
parent 5fa534f56f
commit 22d3f2ad2d
2 changed files with 6 additions and 2 deletions

View File

@@ -83,7 +83,9 @@ endif
%.debug.i %.release.i : %.cpp
$(CCC) $(CFLAGS) -E $< -o $@
%.debug.o %.release.o : %.nasm
%.debug.o : %.nasm
$(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ -g $< -o $@
%.release.o : %.nasm
$(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ $< -o $@
.PHONY : clean

View File

@@ -110,7 +110,9 @@ else
$(AS) $< -o $@
endif
%.debug.o %.release.o : %.nasm
%.debug.o : %.nasm
$(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ -g $< -o $@
%.release.o : %.nasm
$(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ $< -o $@
.PHONY : clean